Skip to content

Commit 086a446

Browse files
committed
DummyMPI is a constructor, not an object
1 parent 7a875bf commit 086a446

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wfl/generate/md/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _sample_autopara_wrappable_single(at, at_i, calculator, steps, dt, logger_in
150150
if temperature_use is not None:
151151
# set initial temperature
152152
assert rng is not None
153-
MaxwellBoltzmannDistribution(at, temperature_K=temperature_use[0]['T_i'], force_temp=True, comm=DummyMPI, rng=rng)
153+
MaxwellBoltzmannDistribution(at, temperature_K=temperature_use[0]['T_i'], force_temp=True, comm=DummyMPI(), rng=rng)
154154
Stationary(at, preserve_temperature=True)
155155

156156
stage_kwargs = {'timestep': dt * fs}

0 commit comments

Comments
 (0)