digits10() needs to return an integer

Problem reported on https://stackoverflow.com/questions/56395899
(grafted from 56144005811e3e5a76031ba0aac8a4e1fa3e3396
)
This commit is contained in:
Christoph Hertzberg 2019-05-31 15:45:41 +02:00
parent 841d844f9c
commit 6ed74ac97c

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,