Skip to content

Commit

Permalink
fix compilation #1296
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchabannes committed Mar 20, 2019
1 parent 2f771f1 commit d7b80b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions feelpp/feel/feells/reinit_fms_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,10 @@ ReinitializerFMS<FunctionSpaceType, periodicity_type>::operator()
reduceClosePoints( theHeap, status );
checkHeap( "after reduce close points" );

auto minNewEntry = [](std::pair<heap_entry_type, size_type> a,
std::pair<heap_entry_type, size_type> b)
typedef std::pair<heap_entry_type, size_type> pair_heap_dofid_type;
std::function<pair_heap_dofid_type( pair_heap_dofid_type const&, pair_heap_dofid_type const& )>
minNewEntry = []( pair_heap_dofid_type const& a,
pair_heap_dofid_type const& b)
{ // return the entry having the minimum abs(phi) value
return std::abs(a.first.first) < std::abs(b.first.first) ? a : b; };

Expand Down

0 comments on commit d7b80b3

Please sign in to comment.