diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-09-17 14:13:48 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-09-17 14:13:48 +0200 |
commit | de05a18fe0d9903b77182df41155794248fa0b09 (patch) | |
tree | 440ace1cddbd986b2c24d61fe27f6bc64e2402b3 | |
parent | 4cc2c73e6ac9bf0a5d7ad59ad43627353c380b02 (diff) |
fix compilation with boost::multiprec
-rw-r--r-- | test/svd_fill.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/svd_fill.h b/test/svd_fill.h index a1f752c66..5c2c61f8e 100644 --- a/test/svd_fill.h +++ b/test/svd_fill.h @@ -8,7 +8,7 @@ // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. template<typename T> -Array<T,4,1> four_denorms(); +Array<T,4,1> four_denorms() { return four_denorms<double>().cast<T>(); } template<> Array4f four_denorms() { return Array4f(5.60844e-39f, -5.60844e-39f, 4.94e-44f, -4.94e-44f); } |