add python o3
This commit is contained in:
parent
c9d156d99e
commit
5e0d52cb8c
@ -1,6 +1,6 @@
|
||||
export CC = gcc
|
||||
export CXX = g++
|
||||
export CFLAGS = -Wall -msse2 -Wno-unknown-pragmas -fopenmp
|
||||
export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -fopenmp
|
||||
|
||||
# specify tensor path
|
||||
SLIB = libxgboostpy.so
|
||||
|
||||
@ -75,6 +75,7 @@ namespace xgboost{
|
||||
inline void CheckInit(void){
|
||||
if(!init_col_){
|
||||
this->data.InitData();
|
||||
init_col_ = true;
|
||||
}
|
||||
utils::Assert( this->data.NumRow() == this->info.labels.size(), "DMatrix: number of labels must match number of rows in matrix");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user