Skip to content

Commit

Permalink
Fix for roc_auc_score import condition (#1101)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexsandruss committed Dec 16, 2022
1 parent 14849ee commit 6c27da3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/daal4py.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ void c_train_test_split(data_or_file & orig, data_or_file & train, data_or_file

double c_roc_auc_score(data_or_file & y_true, data_or_file & y_test)
{
#if __INTEL_DAAL__ == 2021 && INTEL_DAAL_VERSION >= 20210200
#if __INTEL_DAAL__ >= 2021 && INTEL_DAAL_VERSION >= 20210200
const size_t col_true = y_true.table->getNumberOfColumns();
const size_t row_true = y_true.table->getNumberOfRows();
const size_t col_test = y_test.table->getNumberOfColumns();
Expand Down
2 changes: 1 addition & 1 deletion src/daal4py.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ using daal::services::LibraryVersionInfo;
#include "data_management/data/internal/finiteness_checker.h"
#include "data_management/data/internal/train_test_split.h"

#if __INTEL_DAAL__ == 2021 && INTEL_DAAL_VERSION >= 20210200
#if __INTEL_DAAL__ >= 2021 && INTEL_DAAL_VERSION >= 20210200
#include "data_management/data/internal/roc_auc_score.h"
#endif
#if __INTEL_DAAL__ >= 2021 && INTEL_DAAL_VERSION >= 20210600
Expand Down

0 comments on commit 6c27da3

Please sign in to comment.