removing an illegal default param from a template function definition in calc.hh