Skip to content

Commit

Permalink
get_min|max_input|output functions arre hidden from FIXEDFANN yet are…
Browse files Browse the repository at this point in the history
… called in fann_training_data_cpp.h. Added ifndef FIXEDFANN to exclude them from compilation.
  • Loading branch information
joelself committed Nov 5, 2015
1 parent f07bf95 commit 0472d17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/include/fann_training_data_cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ namespace FANN {
train_data = fann_create_train_from_callback(num_data, num_input, num_output, user_function);
}

#ifndef FIXEDFANN
/* Function: get_min_input
Get the minimum value of all in the input data
Expand Down Expand Up @@ -448,6 +449,7 @@ namespace FANN {
fann_type get_max_output() {
return fann_get_max_train_output(train_data);
}
#endif // FIXEDFANN

/* Method: scale_input_train_data
Expand Down

0 comments on commit 0472d17

Please sign in to comment.