We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eade54 commit 4d39713Copy full SHA for 4d39713
docs/source/chapters/chapter3.rst
@@ -147,7 +147,7 @@ method to the *InitializeSimulation* class:
147
box_boundaries[dim] = -L/2, L/2
148
dim += 1
149
self.box_boundaries = box_boundaries
150
- box_size = np.diff(self.box_boundaries).reshape(self.dimension)
+ box_size = np.diff(self.box_boundaries).reshape(3)
151
box_geometry = np.array([90, 90, 90])
152
self.box_size = np.array(box_size.tolist()+box_geometry.tolist())
153
0 commit comments