Skip to content

Commit

Permalink
Fixed compilation issue g++ 4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-james committed Mar 22, 2018
1 parent 2e3b234 commit dbbfb2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CXX = /usr/bin/c++
CXX ?= g++

CXXFLAGS = -O3 -g -fmessage-length=0 -Wall -march=native
CXXFLAGS = -O3 -g -fmessage-length=0 -Wall -march=native -std=c++11

#
# Objects
Expand Down
4 changes: 2 additions & 2 deletions src/cluster/src/Trainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ std::tuple<Point<T>*,double,size_t,size_t> Trainer<T>::get_close(Point<T> *p, bv
std::tuple<Point<T>*,
double,
size_t,
size_t> result = {NULL,
size_t> result = std::tuple<Point<T>*, double, size_t, size_t>(NULL,
-1,
0,
0};
0);
bool has_found = false;

#ifdef DEBUG
Expand Down

0 comments on commit dbbfb2a

Please sign in to comment.