src/miscallenous.h

changeset 1223
4f8fa42aed07
parent 1222
34def2630300
--- a/src/miscallenous.h	Thu Jan 04 21:41:17 2018 +0200
+++ b/src/miscallenous.h	Thu Jan 04 22:42:01 2018 +0200
@@ -32,7 +32,7 @@
 using ApplyToMatrixFunction = std::function<void(int, double&)>;
 using ApplyToMatrixConstFunction = std::function<void(int, double)>;
 
-void RoundToDecimals(double& a, int decimals);
+double RoundToDecimals(double a, int decimals);
 void ApplyToMatrix(Matrix& a, ApplyToMatrixFunction func);
 void ApplyToMatrix(const Matrix& a, ApplyToMatrixConstFunction func);
 

mercurial