Skip to content
Snippets Groups Projects
Commit 6d734c03 authored by Boris Sedji's avatar Boris Sedji
Browse files

No commit message

No commit message
parent ddcdeaaa
No related branches found
No related tags found
No related merge requests found
......@@ -383,7 +383,8 @@ class MLineBorder : public MLine {
virtual int getTypeForMSH() const { return MSH_LIN_B; }
virtual const polynomialBasis* getFunctionSpace(int order=-1) const
{
return getParent()->getFunctionSpace(order);
if (this->getParent()) return getParent()->getFunctionSpace(order);
else return NULL;
}
virtual void getShapeFunctions(double u, double v, double w, double s[], int o)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment