Warning/error for non-positive weights