An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 889c1c23 authored by Kenneth Leiter's avatar Kenneth Leiter
Browse files

ENH: Add assertion to make sure start, stride, and count have the

same dimension.
parent dca545e1
......@@ -58,6 +58,8 @@ XdmfHDF5Controller::XdmfHDF5Controller(const std::string & hdf5FilePath,
mStart(start),
mStride(stride)
{
assert(mStart.size() == mStride.size() &&
mStride.size() == mDimensions.size());
}
XdmfHDF5Controller::~XdmfHDF5Controller()
......
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