small compile fix in MyScalarField.cpp