diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-11 10:04:16 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-11 10:04:16 -0700 |
commit | 5798a11bf083ef3a0a2bbf2f55ddb6dfa1ee6b17 (patch) | |
tree | 9fe1dc9e9dc904e93ab6984acb6ed3d6ca55c407 /037call_reply.cc | |
parent | 455f03383651cb99776f5a4149abb7716abc63e8 (diff) | |
download | mu-5798a11bf083ef3a0a2bbf2f55ddb6dfa1ee6b17.tar.gz |
1343
Diffstat (limited to '037call_reply.cc')
-rw-r--r-- | 037call_reply.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/037call_reply.cc b/037call_reply.cc index e44fe205..3de6d588 100644 --- a/037call_reply.cc +++ b/037call_reply.cc @@ -33,7 +33,7 @@ case REPLY: { if (has_property(reply_inst.ingredients.at(i), "same-as-ingredient")) { vector<string> tmp = property(reply_inst.ingredients.at(i), "same-as-ingredient"); assert(tmp.size() == 1); - long long int ingredient_index = to_int(tmp.at(0)); + long long int ingredient_index = to_number(tmp.at(0)); if (caller_instruction.products.at(i).value != caller_instruction.ingredients.at(ingredient_index).value) raise << "'same-as-ingredient' result " << caller_instruction.products.at(i).value << " must be location " << caller_instruction.ingredients.at(ingredient_index).value << '\n'; } |