Skip to content
Snippets Groups Projects
Commit 01a25f02 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #514: Fixed << routines for i8complex (print integers, not characters)

parent 9a164f97
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ namespace LOFAR { ...@@ -83,7 +83,7 @@ namespace LOFAR {
// Show the complex numbers. // Show the complex numbers.
// <group> // <group>
inline std::ostream& operator<< (std::ostream& os, TYPES::i8complex x) inline std::ostream& operator<< (std::ostream& os, TYPES::i8complex x)
{ os << '(' << real(x) << ',' << imag(x) << ')'; return os; } { os << '(' << (int)real(x) << ',' << (int)imag(x) << ')'; return os; }
inline std::ostream& operator<< (std::ostream& os, TYPES::i16complex x) inline std::ostream& operator<< (std::ostream& os, TYPES::i16complex x)
{ os << '(' << real(x) << ',' << imag(x) << ')'; return os; } { os << '(' << real(x) << ',' << imag(x) << ')'; return os; }
inline std::ostream& operator<< (std::ostream& os, TYPES::u16complex x) inline std::ostream& operator<< (std::ostream& os, TYPES::u16complex x)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment