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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user