From 311c35a15c505310e9d0984ea322e833182e128b Mon Sep 17 00:00:00 2001 From: Michael Marshall <43034299+mmphys@users.noreply.github.com> Date: Wed, 1 May 2019 18:22:08 +0100 Subject: [PATCH] Looking for fixes for Intel '17 compiler errors. std::cout << complex number ? --- Hadrons/Distil.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Hadrons/Distil.hpp b/Hadrons/Distil.hpp index c3183893..02569298 100644 --- a/Hadrons/Distil.hpp +++ b/Hadrons/Distil.hpp @@ -665,11 +665,11 @@ inline void RotateEigen(std::vector & evec) peekSite(cv0, evec[0], siteFirst); auto & cplx0 = cv0()()(0); if( std::imag(cplx0) == 0 ) - std::cout << GridLogMessage << "RotateEigen() : Site 0 : " << cplx0 << " => already meets phase convention" << std::endl; + std::cout << GridLogMessage << "RotateEigen() : Site 0 : already meets phase convention" << std::endl; else { const auto cplx0_mag{std::abs(cplx0)}; const auto phase{std::conj(cplx0 / cplx0_mag)}; - std::cout << GridLogMessage << "RotateEigen() : Site 0 : |" << cplx0 << "|=" << cplx0_mag << " => phase=" << (std::arg(phase) / 3.14159265) << " pi" << std::endl; + std::cout << GridLogMessage << "RotateEigen() : Site 0 : =" << cplx0_mag << " => phase=" << (std::arg(phase) / 3.14159265) << " pi" << std::endl; { // TODO: Only really needed on the master slice for( int k = 0 ; k < evec.size() ; k++ )