small bugfix in "Minor optimisation of PISCES routines" Closes #529 See merge request !691 (cherry picked from commit 789f105d) e911cc0f bugfix