0
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2026-01-18 17:31:19 +01:00

digits10() needs to return an integer

Problem reported on https://stackoverflow.com/questions/56395899
(grafted from 5614400581
)
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,