Skip to content
Snippets Groups Projects
Commit 30cb18c2 authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[functions.expression] remove assertions

parent 6d451ee1
No related branches found
No related tags found
No related merge requests found
......@@ -216,8 +216,6 @@ public:
typedef typename Dune::FieldMatrix<std::string, dimRange, dimDomain> JacobianMatrixType;
const JacobianMatrixType gradient_as_matrix = cfg.get<JacobianMatrixType>("gradient");
// convert FieldMatrix to std::vector< std::vector < std::string > >
assert(gradient_as_matrix.rows >= dimRange);
assert(gradient_as_matrix.cols >= dimDomain);
for (size_t rr = 0; rr < dimRange; ++rr) {
std::vector<std::string> gradient_expression;
for (size_t cc = 0; cc < dimDomain; ++cc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment