diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 22:41:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 22:41:00 +0000 |
commit | 3eb7887a666752d1f97d18ac090c647710241e8d (patch) | |
tree | 75bb7681c0a82c8a6338cc137352406dc2402393 /Carpet/CarpetIOScalar | |
parent | 34fc0ff6d339a0f207086cf85c1808d4fb2f989f (diff) |
CarpetIOScalar: Do not overload operator<< for complex numbers any more
Do not overload operator<< for complex numbers any more. This is now
expected from the flesh.
darcs-hash:20070112224122-dae7b-a9529446fb5b10e6f2cedebc2f4c047c401f9336.gz
Diffstat (limited to 'Carpet/CarpetIOScalar')
-rw-r--r-- | Carpet/CarpetIOScalar/src/ioscalar.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Carpet/CarpetIOScalar/src/ioscalar.cc b/Carpet/CarpetIOScalar/src/ioscalar.cc index c0a1efd5b..ff9787d34 100644 --- a/Carpet/CarpetIOScalar/src/ioscalar.cc +++ b/Carpet/CarpetIOScalar/src/ioscalar.cc @@ -79,30 +79,6 @@ namespace CarpetIOScalar { } IOparameters; - // Special output routines for complex numbers - -#ifdef HAVE_CCTK_COMPLEX8 - ostream& operator<< (ostream& os, const CCTK_COMPLEX8& val) - { - return os << CCTK_Cmplx8Real(val) << " " << CCTK_Cmplx8Imag(val); - } -#endif - -#ifdef HAVE_CCTK_COMPLEX16 - ostream& operator<< (ostream& os, const CCTK_COMPLEX16& val) - { - return os << CCTK_Cmplx16Real(val) << " " << CCTK_Cmplx16Imag(val); - } -#endif - -#ifdef HAVE_CCTK_COMPLEX32 - ostream& operator<< (ostream& os, const CCTK_COMPLEX32& val) - { - return os << CCTK_Cmplx32Real(val) << " " << CCTK_Cmplx32Imag(val); - } -#endif - - extern "C" int CarpetIOScalarStartup () |