From 20252c5eec133d80d3cf8376fcc03dd17d119b5f Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 7 Dec 2017 16:01:43 -0800 Subject: 4152 --- 056shape_shifting_recipe.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '056shape_shifting_recipe.cc') diff --git a/056shape_shifting_recipe.cc b/056shape_shifting_recipe.cc index edded1b0..bbea9e1e 100644 --- a/056shape_shifting_recipe.cc +++ b/056shape_shifting_recipe.cc @@ -92,7 +92,7 @@ bool all_concrete_header_reagents_strictly_match(const instruction& inst, const return false; } } - for (int i = 0; i < min(SIZE(inst.products), SIZE(variant.ingredients)); ++i) { + for (int i = 0; i < min(SIZE(inst.products), SIZE(variant.products)); ++i) { if (is_dummy(inst.products.at(i))) continue; if (!concrete_type_names_strictly_match(variant.products.at(i), inst.products.at(i))) { trace(9993, "transform") << "concrete-type match failed: product " << i << end(); -- cgit 1.4.1-2-gfad0