SyTen

◆ getErr()

std::ostream & syten::getErr ( bool  b)

Returns std::cerr if b is true, otherwise a dummy output stream.

Example
auto& out = getErr(!bpo_quiet);
out << "Test.\n"; // appears on stderr if bpo_quiet is false

References nout.

Referenced by allSiteEntropy(), create_ring_repulsion(), syten::MPS::TEBD::doTEBD_serial(), syten::MPS::TEBD::getTEvolOps(), orthogonalise_run(), and syten::NOut::overflow().

+ Here is the caller graph for this function: