mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-13 00:21:49 +08:00
digits10() needs to return an integer
Problem reported on https://stackoverflow.com/questions/56395899 (grafted from 56144005811e3e5a76031ba0aac8a4e1fa3e3396 )
This commit is contained in:
parent
841d844f9c
commit
6ed74ac97c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user