Skip to content
Snippets Groups Projects
Commit ec2f29c6 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Bugfix: OneDGrid is not a template

parent 93110baf
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -134,7 +134,7 @@ int main (int argc, char *argv[])
typedef std::conditional<dim==1 or dim!=dimworld,FoamGrid<dim,dimworld>,UGGrid<dim> >::type GridType;
#else
static_assert(dim==dimworld, "You need to have dune-foamgrid installed for dim != dimworld!");
typedef std::conditional<dim==1,OneDGrid<dim>,UGGrid<dim> >::type GridType;
typedef std::conditional<dim==1,OneDGrid,UGGrid<dim> >::type GridType;
#endif
shared_ptr<GridType> grid;
......
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