From 6c69f77944078029f68e8b4b9d4c2e3436d9ee29 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 22 Feb 2015 00:36:43 -0800 Subject: 818 --- cpp/019array | 1 + 1 file changed, 1 insertion(+) 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; -- cgit 1.4.1-2-gfad0