about summary refs log tree commit diff stats
path: root/050scenario.cc
diff options
context:
space:
mode:
Diffstat (limited to '050scenario.cc')
-rw-r--r--050scenario.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/050scenario.cc b/050scenario.cc
index af97b34a..6344c9a1 100644
--- a/050scenario.cc
+++ b/050scenario.cc
@@ -200,7 +200,7 @@ void check_memory(const string& s) {
       check_type(lhs, in);
       continue;
     }
-    int address = to_int(lhs);
+    int address = to_number(lhs);
     skip_whitespace_and_comments(in);
     string _assign;  in >> _assign;  assert(_assign == "<-");
     skip_whitespace_and_comments(in);
@@ -223,7 +223,7 @@ void check_memory(const string& s) {
 void check_type(const string& lhs, istream& in) {
   reagent x(lhs);
   if (x.properties.at(0).second.at(0) == "string") {
-    x.set_value(to_int(x.name));
+    x.set_value(to_number(x.name));
     skip_whitespace_and_comments(in);
     string _assign = next_word(in);
     assert(_assign == "<-");