diff options
Diffstat (limited to '036call_ingredient.cc')
-rw-r--r-- | 036call_ingredient.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/036call_ingredient.cc b/036call_ingredient.cc index 5c321ef9..f5964e4b 100644 --- a/036call_ingredient.cc +++ b/036call_ingredient.cc @@ -105,14 +105,14 @@ case INGREDIENT: { products.push_back( Current_routine->calls.top().ingredient_atoms.at(Current_routine->calls.top().next_ingredient_to_process)); assert(products.size() == 1); products.resize(2); // push a new vector - products.at(1).push_back(1); + products.at(1).push_back(1); // non-negative integer ++Current_routine->calls.top().next_ingredient_to_process; } else { if (current_instruction().products.size() > 1) { products.resize(2); products.at(0).push_back(0); // todo: will fail noisily if we try to read a compound value - products.at(1).push_back(0); + products.at(1).push_back(0); // non-negative integer } } break; |