fixing intcond in test_shallow_water_1d.cpp