Skip to content

Commit ce15f1e

Browse files
kiwifbMatthias Koeppe
authored andcommitted
We need headers for bInd and std::placeholders inside bind.
1 parent 79f2832 commit ce15f1e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sage/modular/arithgroup/farey.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@ size_t FareySymbol::nu3() const {
736736
}
737737

738738
size_t FareySymbol::rank_pi() const {
739+
using namespace std::placeholders;
739740
if( index() == 2 ) return 1;
740741
return count_if(pairing.begin(), pairing.end(),
741742
bind(greater<int>(), placeholders::_1, 0))/2;

0 commit comments

Comments
 (0)