Skip to main content

debug_warn

Macro debug_warn 

Source
macro_rules! debug_warn {
    ($($arg:tt)*) => { ... };
}
Expand description

Print a warning to stderr only when the SPARSEIR_DEBUG environment variable is set.

Library code must not write to stderr unconditionally; these are advisory diagnostics (e.g. ill-conditioned sampling) for debugging, not error reports.