Skip to content
Snippets Groups Projects
Commit 6391eed6 authored by Chichi Lalescu's avatar Chichi Lalescu
Browse files

get rid of assert that breaks interpolation

parent 9b5e5698
Branches
Tags
1 merge request!23WIP: Feature/use cmake
Pipeline #
......@@ -154,7 +154,7 @@ class field
inline const rnumber& rval(ptrdiff_t rindex, unsigned int component = 0) const
{
assert(fc == ONE || fc == THREE);
//assert(fc == ONE || fc == THREE);
assert(component >= 0 && component < ncomp(fc));
return *(this->data + rindex*ncomp(fc) + component);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment