mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-19 08:09:36 +08:00
Add a few missing standard functions for ScalarWithExceptions type.
This commit is contained in:
parent
41b3c56e61
commit
46755648ec
@ -69,6 +69,10 @@ class ScalarWithExceptions
|
|||||||
static int countdown;
|
static int countdown;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ScalarWithExceptions real(const ScalarWithExceptions &x) { return x; }
|
||||||
|
ScalarWithExceptions imag(const ScalarWithExceptions & ) { return 0; }
|
||||||
|
ScalarWithExceptions conj(const ScalarWithExceptions &x) { return x; }
|
||||||
|
|
||||||
int ScalarWithExceptions::instances = 0;
|
int ScalarWithExceptions::instances = 0;
|
||||||
int ScalarWithExceptions::countdown = 0;
|
int ScalarWithExceptions::countdown = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user