diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-04-17 10:24:31 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-04-17 10:24:31 +0200 |
commit | 46755648ec341aa5e0283b47456108bb2897b1b3 (patch) | |
tree | 5971f26960ed5d92145ecfacf63e367d12065770 /test | |
parent | 41b3c56e611dfcafa5550da6646c474c879521b0 (diff) |
Add a few missing standard functions for ScalarWithExceptions type.
Diffstat (limited to 'test')
-rw-r--r-- | test/exceptions.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/exceptions.cpp b/test/exceptions.cpp index 8c48b2f7b..b83fb82ba 100644 --- a/test/exceptions.cpp +++ b/test/exceptions.cpp @@ -69,6 +69,10 @@ class ScalarWithExceptions 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::countdown = 0; |