Ticket #54583: patch-splinter-eigen3.diff
File patch-splinter-eigen3.diff, 1.4 KB (added by repagh (Rene van Paassen), 7 years ago) |
---|
-
src/bsplinebasis.cpp
old new SparseMatrix BSplineBasis::evalBasisJaco 119 119 120 120 // Fill out column 121 121 for (int k = 0; k < Ji.outerSize(); ++k) 122 for (Sparse Matrix::InnerIterator it(Ji,k); it; ++it)122 for (SparseVector::InnerIterator it(Ji,k); it; ++it) 123 123 { 124 124 if (it.value() != 0) 125 125 J.insert(it.row(),i) = it.value(); -
CMakeLists.txt
old new elseif(INTEL) 119 119 endif() 120 120 121 121 if(NOT EIGEN_DIRECTORY) 122 set(EIGEN_DIRECTORY ${DEFAULT_EIGEN_DIRECTORY}) 122 set(EIGEN_DIRECTORY ${DEFAULT_EIGEN_DIRECTORY}) 123 set(EIGEN_INSTALL_DIRS 124 ${DEFAULT_EIGEN_DIRECTORY}/Eigen 125 ${DEFAULT_EIGEN_DIRECTORY}/unsupported) 123 126 endif() 124 127 # CACHE STRING = Display the option with help text in CMakeCache.txt 125 128 set(EIGEN_DIRECTORY ${EIGEN_DIRECTORY} CACHE STRING "Directory where the Eigen library is located.") … … install( 280 283 install( 281 284 DIRECTORY 282 285 ${CMAKE_CURRENT_SOURCE_DIR}/include/ 283 ${EIGEN_DIRECTORY}/Eigen 284 ${EIGEN_DIRECTORY}/unsupported 286 ${EIGEN_INSTALL_DIRS} 285 287 DESTINATION ${HEADER_INSTALL_DIRECTORY}/SPLINTER 286 288 ) 287 289 # Install the shared library file