Skip to content

Commit

Permalink
force integer division
Browse files Browse the repository at this point in the history
  • Loading branch information
timothydmorton committed Jan 4, 2019
1 parent 138bb0f commit b765512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RealSpaceInterface/Calc2D/CalculationClass.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def getInitialData(self):
return Value.ravel(), cv2.resize(
(np.abs(self.FValue) - np.abs(self.FValue).min()) /
(np.abs(self.FValue).max() - np.abs(self.FValue).min()),
(self.endshape[0] / 2, self.endshape[1])).ravel(), (minimum,
(self.endshape[0] // 2, self.endshape[1])).ravel(), (minimum,
maximum)

def getTransferData(self, redshiftindex):
Expand Down

0 comments on commit b765512

Please sign in to comment.