Commit dd9c9bf3 authored by Martin Reinecke's avatar Martin Reinecke

sync

parent 6cb5f23d
......@@ -432,8 +432,6 @@ struct util // hack to avoid duplicate symbols
if (ndim<1) throw runtime_error("ndim must be >= 1");
if ((stride_in.size()!=ndim) || (stride_out.size()!=ndim))
throw runtime_error("stride dimension mismatch");
for (auto shp: shape)
if (shp<1) throw runtime_error("zero extent detected");
if (inplace && (stride_in!=stride_out))
throw runtime_error("stride mismatch");
}
......
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