Fix unused variable warning

Fix trivial unused variable warning in test/test_dimensionless_ice1.cpp.