diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2014-07-18 16:39:58 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2014-07-18 16:39:58 +0200 |
commit | ef4a86d6b8eb7334ffa3a5a55f8432d723f8a502 (patch) | |
tree | 3df91b65639e399a52384752ab687bcda1c3d109 /unsupported/Eigen/MPRealSupport | |
parent | 68eafc10b1165eb83461187e549a54a618495916 (diff) |
Fix trivial warnings in MPRealSupport
Diffstat (limited to 'unsupported/Eigen/MPRealSupport')
-rw-r--r-- | unsupported/Eigen/MPRealSupport | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unsupported/Eigen/MPRealSupport b/unsupported/Eigen/MPRealSupport index 8e22b13c7..632de3854 100644 --- a/unsupported/Eigen/MPRealSupport +++ b/unsupported/Eigen/MPRealSupport @@ -88,9 +88,9 @@ int main() inline static Real epsilon (const Real& x) { return mpfr::machine_epsilon(x); } inline static Real dummy_precision() - { - unsigned int weak_prec = ((mpfr::mpreal::get_default_prec()-1) * 90) / 100; - return mpfr::machine_epsilon(weak_prec); + { + mpfr_prec_t weak_prec = ((mpfr::mpreal::get_default_prec()-1) * 90) / 100; + return mpfr::machine_epsilon(weak_prec); } }; |