allow const double& as argument