Skip to content

Commit

Permalink
Update continuous_space.py
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel committed Jan 8, 2025
1 parent 0cbbbb5 commit 4187786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesa/experimental/continuous_space/continuous_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(
random = Random()

Check warning on line 74 in mesa/experimental/continuous_space/continuous_space.py

View check run for this annotation

Codecov / codecov/patch

mesa/experimental/continuous_space/continuous_space.py#L74

Added line #L74 was not covered by tests
self.random = random

self.dimensions: np.array = np.asanarray(dimensions)
self.dimensions: np.array = np.asanyarray(dimensions)
self.ndims: int = self.dimensions.shape[0]
self.size: np.array = self.dimensions[:, 1] - self.dimensions[:, 0]
self.center: np.array = np.sum(self.dimensions, axis=1) / 2
Expand Down

0 comments on commit 4187786

Please sign in to comment.