static int oneIfZero(int i) { ret i == 0 ? 1 : i; }