diff --git a/fenicstools/fem/interpolation.cpp b/fenicstools/fem/interpolation.cpp index a1026fb..e5c0d2b 100644 --- a/fenicstools/fem/interpolation.cpp +++ b/fenicstools/fem/interpolation.cpp @@ -38,9 +38,9 @@ namespace dolfin }; void extract_dof_component_map(std::unordered_map& dof_component_map, - const FunctionSpace& V, - int* component) + std::size_t>& dof_component_map, + const FunctionSpace& V, + int* component) { // Extract sub dofmaps recursively and store dof to component map std::unordered_map collapsed_map; std::unordered_map::iterator map_it;