Commit 9c940eb4 authored by Doak, Peter W.'s avatar Doak, Peter W.
Browse files

better warning message

parent a05699bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ auto real(const function<std::complex<Scalartype>, Dmn>& f) {
    if constexpr (IC == ImagCheck::WARN) {
      if (have_not_warned) {
        if (checkForImaginary(f(i)))
          std::cerr << writeCheckFail(i, f(i));
          std::cerr << "WARNING: " << writeCheckFail(i, f(i));
      }
    }
    else if constexpr (IC == ImagCheck::FAIL) {