Skip to content

Commit

Permalink
Merge pull request #834 from OceanParcels/particle_ageing_kernel_fix
Browse files Browse the repository at this point in the history
Updating way ageing is implemented in tutorial_Argofloats
  • Loading branch information
erikvansebille authored May 11, 2020
2 parents 93c48f2 + 33cfce9 commit d733a65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parcels/examples/tutorial_Argofloats.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
" particle.cycle_phase = 0\n",
" particle.cycle_age = 0\n",
"\n",
" particle.cycle_age += particle.dt # update cycle_age"
" if particle.state == ErrorCode.Evaluate:\n",
" particle.cycle_age += particle.dt # update cycle_age"
]
},
{
Expand Down

0 comments on commit d733a65

Please sign in to comment.