Skip to content

Commit

Permalink
replace deprecated np.fload with np.float64 https://numpy.org/devdoc…
Browse files Browse the repository at this point in the history
  • Loading branch information
smiet committed Oct 31, 2023
1 parent c30cff4 commit 3734362
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Utilities/pythontools/py_spec/input/spec_namelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ def _rectify_namelist(self):
for key in self.boundary_keys:
if key.lower() not in self["physicslist"].keys():
self["physicslist"][key] = np.zeros(
[self._Mpol, self._Ntor * 2 + 1], dtype=np.float
[self._Mpol, self._Ntor * 2 + 1], dtype=np.float64
).tolist()
self["physicslist"].start_index[key.lower()] = [-self._Ntor, 0]
else:
Expand All @@ -651,7 +651,7 @@ def _rectify_namelist(self):
for key in self.axis_keys:
if key.lower() not in self["physicslist"].keys():
self["physicslist"][key] = np.zeros(
[self._Ntor + 1], dtype=np.float
[self._Ntor + 1], dtype=np.float64
).tolist()
self["physicslist"].start_index[key.lower()] = [0]
else:
Expand Down

0 comments on commit 3734362

Please sign in to comment.