Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/ColibrITD-SAS/mpqp into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri-ColibrITD committed May 14, 2024
2 parents 9c20203 + f34fd1a commit a989d1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mpqp/execution/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import math
from numbers import Complex
from typing import Optional
from typing import Any, Optional

import numpy as np
import numpy.typing as npt
Expand Down Expand Up @@ -456,7 +456,8 @@ def __getitem__(self, index: int):
return self.results[index]


def clean_array(array): # type: ignore
def clean_array(array: npt.NDArray[Any]) -> str:
"""TODO: doc"""
try:
cleaned_array = []
for element in array:
Expand Down

0 comments on commit a989d1e

Please sign in to comment.