This commit is contained in:
elvis
2025-11-12 17:33:36 +01:00
parent 0e49dfa4fb
commit b8d885f774
7 changed files with 30 additions and 14 deletions

View File

@ -237,7 +237,7 @@ impl Set {
inhibitors: &[Set],
) -> Result<Vec<PositiveSet>, String> {
if reactants.is_empty() && inhibitors.is_empty() {
return Ok(vec![])
return Ok(vec![]);
}
if reactants.len() != inhibitors.len() {
return Err(format!(