Skip to content

Commit d93081a

Browse files
committed
Bug: used member variable not moved arg
1 parent e759671 commit d93081a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/dolfinx/fem/FunctionSpace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class FunctionSpace
7272
throw std::runtime_error(
7373
"Number of elements must match number of cell types");
7474
}
75-
if (dofmaps.size() != num_cell_types)
75+
if (_dofmaps.size() != num_cell_types)
7676
{
7777
throw std::runtime_error(
7878
"Number of dofmaps must match number of cell types");

0 commit comments

Comments
 (0)