kasiaj/sailfish — comment on commit 233e14f6ad38f61fd18b85d9464d88e46396154a
File: doc/running_simulations.rst line 102
By mjanusz:

Could you please add a note here highlighting that it's important to never assign stuff directly to sim.rho (or .vx, etc), and instead always use an index expression like you did above? I.e. sim.rho[:] = 1.0 is fine, sim.rho = 1.0 is not.