Skip to content

Commit

Permalink
Fix build with Eigen
Browse files Browse the repository at this point in the history
  • Loading branch information
alkino committed Aug 22, 2023
1 parent 984c7f6 commit 9703e6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ if(NOT EXISTS "${CODING_CONV_CMAKE}/3rdparty.cmake")
endif()
include("${CODING_CONV_CMAKE}/3rdparty.cmake")
cpp_cc_git_submodule(Random123)
option(EIGEN_BUILD_TESTING "" OFF)
cpp_cc_git_submodule(eigen BUILD PACKAGE Eigen3::Eigen REQUIRED)

# =================================================================================================
Expand Down
1 change: 1 addition & 0 deletions src/ivoc/ocmatrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#define v_elem(v, i) (*(vector_vec(v) + i))

#include <Eigen/Sparse>
#include <Eigen/Eigenvalues>
#include <unsupported/Eigen/MatrixFunctions>

Expand Down

0 comments on commit 9703e6b

Please sign in to comment.