Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianSchmidl committed Jan 2, 2025
1 parent 7ef6493 commit df5883c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gutenTAG/generator/overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def _decode_numpy_types(self, obj: Any) -> Any:
elif isinstance(obj, (float, np.float16, np.float32, np.float64)):
return float(obj)

elif isinstance(obj, (np.complex64, np.complex128, np.complex160, np.complex192, np.complex256, np.complex512)):
elif isinstance(obj, (np.complex64, np.complex128, np.complex256)):
return {"real": obj.real, "imag": obj.imag}

elif isinstance(obj, (np.ndarray,)):
Expand Down

0 comments on commit df5883c

Please sign in to comment.