Skip to content

Commit e92aa0c

Browse files
committed
Numpy 2
1 parent 700668f commit e92aa0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

muon/Quantum/Algorithms_Autoload/quantumtabletools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@ def getBinv(self):
13131313
if((mtype=="timespectra" or mtype=="phasequad") and hadaxis0):
13141314
timebins=pars["axis0"] # passed in from fit function
13151315
elif(pars["ntbins"][0]==1):
1316-
timebins=numpy.array([pars["starttime"][0],pars["endtime"][0]],dtype=numpy.float_) # exact ends
1316+
timebins=numpy.array([pars["starttime"][0],pars["endtime"][0]],dtype=numpy.float64) # exact ends
13171317
else:
13181318
timebins=numpy.linspace(pars["starttime"][0],pars["endtime"][0],int(pars["ntbins"][0])+1,endpoint=True) # these will be bin boundaries
13191319
if((mtype=="timespectra" or mtype=="phasequad")and not(hadaxis0)):

0 commit comments

Comments
 (0)