diff options
Diffstat (limited to '026assert.cc')
-rw-r--r-- | 026assert.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/026assert.cc b/026assert.cc index 5b03e318..9e4e79df 100644 --- a/026assert.cc +++ b/026assert.cc @@ -11,8 +11,8 @@ ASSERT, Recipe_number["assert"] = ASSERT; :(before "End Primitive Recipe Implementations") case ASSERT: { - assert(ingredients.size() == 2); - assert(ingredients.at(0).size() == 1); // scalar + assert(SIZE(ingredients) == 2); + assert(scalar(ingredients.at(0))); if (!ingredients.at(0).at(0)) { assert(isa_literal(current_instruction().ingredients.at(1))); raise << current_instruction().ingredients.at(1).name << '\n' << die(); |