Commit e363249f authored by Timo Koch's avatar Timo Koch
Browse files

[simpleh20][cleanup] Remove superfluous Scalar constructor

parent f5387518
...@@ -121,9 +121,9 @@ public: ...@@ -121,9 +121,9 @@ public:
const Scalar C = (n[5]*sigma + n[6])*sigma + n[7]; const Scalar C = (n[5]*sigma + n[6])*sigma + n[7];
using std::sqrt; using std::sqrt;
const Scalar term = Scalar(2.0)*C/(sqrt(B*B - Scalar(4.0)*A*C) - B); const Scalar term = 2.0*C/(sqrt(B*B - 4.0*A*C) - B);
return Scalar(1e6)*term*term*term*term; return 1e6*term*term*term*term;
} }
/*! /*!
......
Supports Markdown
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