in nfm-common/src/utils.rs [9:15]
fn min_non_zero(self, other: u32) -> u32 { if self > 0 && other > 0 { self.min(other) } else { self.max(other) } }