diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 22:27:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 22:27:00 +0000 |
commit | f1d271fcdea945e27fbf7bee75dc9ab2fc01fc71 (patch) | |
tree | f7303787d0310195d6cc119521252aaad38c2c2f /Carpet/CarpetIOASCII | |
parent | ee39c26d53b65c58d69e63d0a85abcf6310426a1 (diff) |
CarpetIOASCII: 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:20070112222709-dae7b-5d0ed66ab45bb1ac12b968957801ae26ac477e30.gz
Diffstat (limited to 'Carpet/CarpetIOASCII')
-rw-r--r-- | Carpet/CarpetIOASCII/src/ioascii.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc index 86f727dfa..1f16028c8 100644 --- a/Carpet/CarpetIOASCII/src/ioascii.cc +++ b/Carpet/CarpetIOASCII/src/ioascii.cc @@ -49,31 +49,6 @@ namespace CarpetIOASCII { - // 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 - - - template<int outdim> void WriteASCII (ostream& os, vector<const gdata*> const gfdatas, |