Fixed output of complex matrices

This commit is contained in:
Jens Wehner
2021-03-15 21:51:55 +00:00
committed by Antonio Sánchez
parent f612df2736
commit c0a889890f
2 changed files with 23 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ namespace internal
template<typename Scalar>
inline void putVectorElt(std::complex<Scalar> value, std::ofstream& out)
{
out << value.real << " " << value.imag()<< "\n";
out << value.real() << " " << value.imag()<< "\n";
}
} // end namespace internal