-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
operator>> for complex<T> uses std::ostream, not std::istream #2313
Comments
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Kokkos_Complex.hpp, there are operator overloads to allow input and output of complex through std streams. But the input
operator>>()
takes astd::ostream&
, not astd::istream&
. When I tried to read a complex from a std::istringstream, I got a "no matching function to call" error, since istringstream is not a subclass of ostream.Line 790 or so (bottom of file) in Kokkos_Complex.hpp (in develop, but the issue is also present in master):
The text was updated successfully, but these errors were encountered: