[bugfix] Fix compiler error introduced in !2236

Merged Timo Koch requested to merge fix/navier-stokes-source-rotation into master

Merge request reports