diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-07 12:41:08 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-07 12:41:08 -0800 |
commit | 273f8be9c048d19273f87afc62b34727811b7871 (patch) | |
tree | 97bd8399c6d62dab77634cd3cdbdbcf9a0b25909 /059generic_recipe.cc | |
parent | 15f79a66ee32a8cce7667a9c9ec718517a48f2bf (diff) | |
download | mu-273f8be9c048d19273f87afc62b34727811b7871.tar.gz |
2386 - core tests passing again
Layer 1 of edit/ is introducing spurious types, though.
Diffstat (limited to '059generic_recipe.cc')
-rw-r--r-- | 059generic_recipe.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/059generic_recipe.cc b/059generic_recipe.cc index e435f3f3..7b0ef162 100644 --- a/059generic_recipe.cc +++ b/059generic_recipe.cc @@ -57,6 +57,7 @@ if (any_type_ingredient_in_header(r)) return; recipe_ordinal pick_matching_generic_variant(vector<recipe_ordinal>& variants, const instruction& inst, long long int& best_score) { recipe_ordinal result = 0; for (long long int i = 0; i < SIZE(variants); ++i) { + if (variants.at(i) == -1) continue; // ghost from a previous test trace(9992, "transform") << "checking generic variant " << i << end(); long long int current_score = generic_variant_score(inst, variants.at(i)); trace(9992, "transform") << "final score: " << current_score << end(); |