Commit f4a3a182 authored by charlie's avatar charlie
Browse files

cppcheck fix

parent 459eb3dd
......@@ -526,8 +526,8 @@ bool operator==(const shape::dynamic_dimension& x, const std::size_t& y)
return x.min == y and x.max == y;
}
bool operator==(const std::size_t& x, const shape::dynamic_dimension& y) { return y == x; }
bool operator!=(const shape::dynamic_dimension& x, const std::size_t& y) { return !(x == y); }
bool operator!=(const std::size_t& x, const shape::dynamic_dimension& y) { return !(x == y); }
bool operator!=(const shape::dynamic_dimension& x, const std::size_t& y) { return not(x == y); }
bool operator!=(const std::size_t& x, const shape::dynamic_dimension& y) { return not(x == y); }
bool operator==(const shape& x, const shape& y)
{
......
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