Merge branch '591-nn_stock-0-incompatible-with-mod-function' into 'main'
Resolve "nn_stock = 0 incompatible with MOD function"
Closes #591 (closed)
See merge request !793 (merged)
(cherry picked from commit 5ce9e2ad)
dde8e50e fix MOD use with NN_stock=0
Co-authored-by: Guillaume Samson 3-gsamson@users.noreply.forge.nemo-ocean.eu