Skip to content
Snippets Groups Projects
Commit 6006143b authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: fix verbosity of libsvm

Verbose libsvm is only enabled when building in Debug
parent 8aa9f900
Branches
Tags
No related merge requests found
...@@ -66,7 +66,7 @@ LibSVMMachineLearningModel<TInputValue,TOutputValue> ...@@ -66,7 +66,7 @@ LibSVMMachineLearningModel<TInputValue,TOutputValue>
this->m_Problem.l = 0; this->m_Problem.l = 0;
this->m_Problem.y = nullptr; this->m_Problem.y = nullptr;
this->m_Problem.x = nullptr; this->m_Problem.x = nullptr;
#ifndef NDEBUG #ifdef NDEBUG
svm_set_print_string_function(&otb::Utils::PrintNothing); svm_set_print_string_function(&otb::Utils::PrintNothing);
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment