We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8acde6d commit b31441cCopy full SHA for b31441c
portpy/photon/optimization.py
@@ -156,7 +156,7 @@ def create_cvxpy_problem(self):
156
else:
157
constraint_def += [opt_constraint]
158
159
- d_max = np.infty * np.ones(A.shape[0]) # create a vector to avoid putting redundant max constraint on
+ d_max = np.inf * np.ones(A.shape[0]) # create a vector to avoid putting redundant max constraint on
160
# duplicate voxels among structure
161
162
# Adding constraints
0 commit comments