Skip to content

Commit

Permalink
added missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
ngc92 committed Sep 28, 2022
1 parent 62cbe70 commit 7cfb2b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/objective/margin_losses.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#define DISMEC_SRC_OBJECTIVE_MARGIN_LOSSES_H

#include "config.h"
#include <cmath>

// The structs defined here are used in a template.

Expand Down
2 changes: 2 additions & 0 deletions src/utils/confusion_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#ifndef DISMEC_SRC_UTILS_CONFUSION_MATRIX_H
#define DISMEC_SRC_UTILS_CONFUSION_MATRIX_H

#include <cmath>

namespace dismec::confusion_matrix_detail {
template<class T>
struct ConfusionMatrixBase {
Expand Down
1 change: 1 addition & 0 deletions src/utils/fast_sparse_row_iter.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#ifndef DISMEC_FAST_SPARSE_ITER_H
#define DISMEC_FAST_SPARSE_ITER_H

#include "matrix_types.h"

namespace dismec
{
Expand Down

0 comments on commit 7cfb2b6

Please sign in to comment.