Skip to content

Commit

Permalink
Explicitly converting from integer to floating-point
Browse files Browse the repository at this point in the history
  • Loading branch information
poulson committed Nov 23, 2016
1 parent 3bb386d commit cfd5e58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/El/lapack_like/funcs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ template<typename Real>
struct SignCtrl
{
Int maxIts=100;
Real tol=0;
Real power=1;
Real tol=Real(0);
Real power=Real(1);
SignScaling scaling=SIGN_SCALE_FROB;
bool progress=false;
};
Expand All @@ -37,8 +37,8 @@ template<typename Real>
struct SquareRootCtrl
{
Int maxIts=100;
Real tol=0;
Real power=1;
Real tol=Real(0);
Real power=Real(1);
bool progress=false;
};

Expand Down

0 comments on commit cfd5e58

Please sign in to comment.