Use && instead of and (#1663)
* Use && instead of and * Remove "and" in ops.cpp
This commit is contained in:
+1
-1
@@ -808,7 +808,7 @@ std::vector<array> meshgrid(
|
||||
outputs.push_back(reshape(arrays[i], std::move(shape), s));
|
||||
}
|
||||
|
||||
if (indexing == "xy" and ndim > 1) {
|
||||
if (indexing == "xy" && ndim > 1) {
|
||||
Shape shape(ndim, 1);
|
||||
|
||||
shape[1] = arrays[0].size();
|
||||
|
||||
Reference in New Issue
Block a user