File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
2
2
cmake_minimum_required (VERSION 2.8.12.2 FATAL_ERROR )
3
3
4
+
4
5
# Set options for this project.
5
6
set (PROJECT_NAME "SCIM" CXX )
6
7
project (${PROJECT_NAME} )
@@ -25,8 +26,12 @@ else()
25
26
endif ()
26
27
27
28
29
+ execute_process (
30
+ COMMAND ${CMAKE_COMMAND} -E environment
31
+ )
32
+
33
+ SET ( EIGEN3_INCLUDE_DIR "ENV{EIGEN3_INCLUDE_DIR}" )
28
34
29
- SET ( EIGEN3_INCLUDE_DIR "$ENV{EIGEN3_INCLUDE_DIR} " )
30
35
IF ( NOT EIGEN3_INCLUDE_DIR )
31
36
MESSAGE ( FATAL_ERROR "Please point the environment variable EIGEN3_INCLUDE_DIR to the include directory of your Eigen3 installation." )
32
37
ENDIF ()
@@ -38,7 +43,7 @@ INCLUDE_DIRECTORIES ( "${EIGEN3_INCLUDE_DIR}" )
38
43
# Either specify BOOST_ROOT or BOOST_INCLUDEDIR and BOOST_LIBRARYDIR.
39
44
# I am using "MinGW Distro" in this example, but also a relative path, e. g.
40
45
# "vendor/boost" can be specified.
41
- set (BOOST_ROOT )
46
+ set (BOOST_ROOT ON )
42
47
set (Boost_NO_SYSTEM_PATHS ON )
43
48
set (Boost_USE_MULTITHREADED ON )
44
49
set (Boost_USE_STATIC_LIBS ON )
File renamed without changes.
Original file line number Diff line number Diff line change 20
20
const double LIMITE_INFERIOR_DELTA = 1e-8 ; // using for eliminate irrelevant dimension
21
21
const double MAXIMUM_ANGLE_DEGREE = 90.0 ; // using to find worts formation of clusters give a item
22
22
typedef double real_type;
23
- typedef double index;
23
+
24
24
25
25
typedef Eigen::Matrix<real_type, Eigen::Dynamic, Eigen::Dynamic> dynamic_size_matrix;
26
26
typedef Eigen::Matrix<real_type, Eigen::Dynamic, 1 > column_vector_type;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments