digits10() needs to return an integer

Problem reported on https://stackoverflow.com/questions/56395899
This commit is contained in:
Christoph Hertzberg 2019-05-31 15:45:41 +02:00
parent 36e0a2b93f
commit 5614400581

View File

@ -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,