Moving some stuff around and fixing a couple guys

This commit is contained in:
2022-01-02 20:27:07 -06:00
parent 3278f1a180
commit 72cd281099
3 changed files with 40 additions and 4 deletions

View File

@@ -120,4 +120,4 @@ class FixedZPlaneDiscretisation():
sx_mean = (bounds[0][1] + bounds[1][1]) / 2
sy_mean = (bounds[0][2] + bounds[1][2]) / 2
# I don't care about the typing here at the moment.
return self.model.solve(dots, initial_pt=numpy.array(.1, sx_mean, sy_mean, .1), bounds=bounds) # type: ignore
return self.model.solve(dots, initial_pt=numpy.array((.1, sx_mean, sy_mean, .1)), bounds=bounds) # type: ignore