Skip to content

Commit

Permalink
solved compiler error with gcc 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lettis committed Feb 4, 2016
1 parent 22588f7 commit 78be555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ namespace FastPCA {

template <class T>
std::vector<std::size_t>
sorted_index(const std::vector<T> &v, bool reverse_sorting=false) {
sorted_index(const std::vector<T> &v, bool reverse_sorting) {
std::vector<std::size_t> indeces(v.size());
for (std::size_t i = 0; i != v.size(); ++i) {
indeces[i] = i;
Expand Down

0 comments on commit 78be555

Please sign in to comment.