Skip to content

Commit 090c0a3

Browse files
committed
np.int64 ugly
may not work before numpy 2.0, don't know how to fix quickly
1 parent 4000f06 commit 090c0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qupulse/program/linspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __hash__(self):
8282
GeneralizedChannel = Union[DepDomain,ChannelID,StepRegister]
8383

8484
# is there any way to cast the numpy cumprod to int?
85-
int_type = Union[np.int32,int]
85+
int_type = Union[np.int64,np.int32,int]
8686

8787
class ResolutionDependentValue(Generic[NumVal]):
8888

0 commit comments

Comments
 (0)