diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2019-05-31 15:45:41 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2019-05-31 15:45:41 +0200 |
commit | 56144005811e3e5a76031ba0aac8a4e1fa3e3396 (patch) | |
tree | 21aacb6446ba1b459d0e350be5034f29e309c1e8 /doc | |
parent | 36e0a2b93fd4cd4490afe1f271d617831074c809 (diff) |
digits10() needs to return an integer
Problem reported on https://stackoverflow.com/questions/56395899
Diffstat (limited to 'doc')
-rw-r--r-- | doc/CustomizingEigen_CustomScalar.dox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CustomizingEigen_CustomScalar.dox b/doc/CustomizingEigen_CustomScalar.dox index 1ee78cbe5..24e5f563b 100644 --- a/doc/CustomizingEigen_CustomScalar.dox +++ b/doc/CustomizingEigen_CustomScalar.dox @@ -75,7 +75,7 @@ namespace Eigen { static inline Real epsilon() { return 0; } static inline Real dummy_precision() { return 0; } - static inline Real digits10() { return 0; } + static inline int digits10() { return 0; } enum { IsInteger = 0, |