The assert libmesh_assert (comp < this->n_comp(s,var));
in line 572 of file dof_object.h is failing when trying to compute the dof_number of a node when using Lagrange basis. My number of components (n_comp()) returns 0 and when I call the dof_number method as node->dof_number(sys_id, _var_id, 0) the assert fails. Is this the intended behavior for the assert ? Or should that be along the lines of libmesh_assert (this->n_comp(s,var) > 0 && comp < this->n_comp(s,var)); Just checking. It is not extremely critical for me since this affects only my debug mode and the opt mode seems to run fine. But if this is not the calling pattern, I'd like to know though. Thanks, vijay ------------------------------------------------------------------------------ _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel