Skip to content

Commit

Permalink
Fix to MPI tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
djgroen committed Nov 3, 2023
1 parent 33abc16 commit ed9799d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flee/pflee.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def __init__(
e,
cur_id: int,
name: str,
region: str = "unknown",
x: float = 0.0,
y: float = 0.0,
location_type: Optional[str] = None,
Expand All @@ -166,6 +167,7 @@ def __init__(
# If it is referred to in Flee in any way, the code should crash.
super().__init__(
name=name,
region=region,
x=x,
y=y,
location_type=location_type,
Expand Down Expand Up @@ -665,6 +667,7 @@ def evolve(self) -> None:
def addLocation(
self,
name: str,
region: str = "unknown",
x: float = 0.0,
y: float = 0.0,
location_type: Optional[str] = None,
Expand Down Expand Up @@ -707,6 +710,7 @@ def addLocation(
self,
cur_id=self.cur_loc_id,
name=name,
region=region,
x=x,
y=y,
location_type=location_type,
Expand Down

0 comments on commit ed9799d

Please sign in to comment.