Commit 3907b86e authored by Ingrid Luijkx's avatar Ingrid Luijkx
Browse files

Small fix: int(nparams) instead of nparams (baseclasses/statevector.py)

parent 6cc14671
......@@ -171,7 +171,7 @@ class StateVector(object):
nparams = self.gridmap.max()
self.griddict = {}
for r in range(1, nparams + 1):
for r in range(1, int(nparams) + 1):
sel = (self.gridmap.flat == r).nonzero()
if len(sel[0]) > 0:
self.griddict[r] = sel
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment