Commit 54ccaead authored by charlie's avatar charlie
Browse files

Fix typo in assert

parent 13f3beb7
...@@ -520,7 +520,7 @@ shape::dynamic_dimension& shape::dynamic_dimension::operator-=(const std::size_t ...@@ -520,7 +520,7 @@ shape::dynamic_dimension& shape::dynamic_dimension::operator-=(const std::size_t
this->max -= x; this->max -= x;
if(this->opt != 0) if(this->opt != 0)
{ {
assert(this->opt >= y); assert(this->opt >= x);
this->opt -= x; this->opt -= x;
} }
return *this; return *this;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment