Skip to content

Commit

Permalink
fix generate call in routine function
Browse files Browse the repository at this point in the history
  • Loading branch information
elbeejay committed Apr 18, 2021
1 parent c0b0cbd commit 8bfffbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dorado/routines.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ def unsteady_plots(dx, Np_tracer, seed_xloc, seed_yloc, num_steps, timestep,
if i == 0:
particle.generate_particles(Np_tracer, seed_xloc, seed_yloc)
else:
particle.generate_particles(0, [], [], 'random', walk_data)
particle.generate_particles(0, [], [], method='random',
previous_walk_data=walk_data)

walk_data = particle.run_iteration(target_time=target_times[i])

Expand Down

0 comments on commit 8bfffbb

Please sign in to comment.