Skip to content

Commit

Permalink
Pass rank to the LocalAdaptivityCalculator definition
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaanDesai committed Dec 16, 2024
1 parent 8fb40aa commit c716df8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions micro_manager/micro_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import sys
import time
import inspect
from copy import deepcopy
from typing import Dict
from warnings import warn
from typing import Callable
Expand Down Expand Up @@ -412,7 +411,7 @@ def initialize(self) -> None:
if self._config.get_adaptivity_type() == "local":
self._adaptivity_controller: LocalAdaptivityCalculator = (
LocalAdaptivityCalculator(
self._config, self._comm, self._local_number_of_sims
self._config, self._rank, self._comm, self._local_number_of_sims
)
)
elif self._config.get_adaptivity_type() == "global":
Expand Down

0 comments on commit c716df8

Please sign in to comment.