about summary refs log tree commit diff stats
path: root/022boolean.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-07-25 14:19:28 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-07-25 17:14:58 -0700
commite46306432ddb75a89f69d92ccc175a23f0b72072 (patch)
tree48ed3828064f29cefaf14e3fe61d7dc02cac0e80 /022boolean.cc
parente83602d3917eba137cd8fb37605076fff5a746b1 (diff)
downloadmu-e46306432ddb75a89f69d92ccc175a23f0b72072.tar.gz
1848 - core instructions now check for ingredients
Also standardized warnings.
Diffstat (limited to '022boolean.cc')
-rw-r--r--022boolean.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/022boolean.cc b/022boolean.cc
index 86b2f16d..bebe2204 100644
--- a/022boolean.cc
+++ b/022boolean.cc
@@ -90,7 +90,7 @@ NOT,
 Recipe_ordinal["not"] = NOT;
 :(before "End Primitive Recipe Implementations")
 case NOT: {
-  products.resize(ingredients.size());
+  products.resize(SIZE(ingredients));
   for (long long int i = 0; i < SIZE(ingredients); ++i) {
     assert(scalar(ingredients.at(i)));
     products.at(i).push_back(!ingredients.at(i).at(0));