diff options
-rw-r--r-- | cpp/019array | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/019array b/cpp/019array index 51265826..d6ae0eae 100644 --- a/cpp/019array +++ b/cpp/019array @@ -41,6 +41,7 @@ size_t size_of(reagent r) { return result; } if (t.is_array) { + assert(!r.name.empty()); int base = to_int(r.name); if (Memory[base] == 0) return 0; ostringstream out; |