diff options
| -rw-r--r-- | autofeur_db/src/inference.rs | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/autofeur_db/src/inference.rs b/autofeur_db/src/inference.rs index 87574af..b8f2f87 100644 --- a/autofeur_db/src/inference.rs +++ b/autofeur_db/src/inference.rs @@ -50,8 +50,9 @@ impl Save<'_> {                  found = Some(sub);                  break;              } else { -                found = Some(sub); -                break; +                if found.is_none() { +                    found = Some(sub); +                }                  println!("did not match a={}, b={}", inference, completion)              }          }  | 
