Commit 99fbd01c authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

are default parameter values only allowed for const reference

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.
parameters?


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3931
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 42158609
......@@ -315,7 +315,7 @@ namespace datrw {
/*! \brief return smallest power possible without truncation
*/
int ScalCoo::smallestpower(const int desired)
int ScalCoo::smallestpower(const int& desired)
{
// limiting power values
int lp=desired >= -4 ? desired : -4;
......
......@@ -88,7 +88,7 @@ namespace datrw {
//! scale to given scaling factor as defined by decimal power
void scaletopower(const int& p);
//! smallest possible power larger or equal desired
int smallestpower(const int desired=-2);
int smallestpower(const int& desired=-2);
//! return coordinate value
double value() const;
//! adjust scale to optimal representation of significant digits
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment