Skip to content
Snippets Groups Projects
Commit 8eaf2a15 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent af9eef8e
No related branches found
No related tags found
No related merge requests found
...@@ -722,7 +722,7 @@ MElement *MElementFactory::create(int type, std::vector<MVertex*> &v, ...@@ -722,7 +722,7 @@ MElement *MElementFactory::create(int type, std::vector<MVertex*> &v,
const gmshFunctionSpace* MLine::getFunctionSpace(int o) const const gmshFunctionSpace* MLine::getFunctionSpace(int o) const
{ {
int order = o == -1 ? getPolynomialOrder() : o; int order = (o == -1) ? getPolynomialOrder() : o;
switch (order) { switch (order) {
case 1: return &gmshFunctionSpaces::find(MSH_LIN_2); case 1: return &gmshFunctionSpaces::find(MSH_LIN_2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment