Template Function sequant::eval::detail::dump_norm2_of¶
Defined in File ordered_dump.hpp
Function Documentation¶
-
template<typename F>
double sequant::eval::detail::dump_norm2_of(F &&fetch) noexcept¶ dump_norm2of whateverfetchreturns, with the fetch itself inside the guard: a registry lookup (CellRegistry::peek) can throw on a bad cell id, and computing the argument at the call site would put that throw outsidedump_norm2'sown try — i.e. a diagnostic that aborts the run it is diagnosing.