mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fixed the bad fix - now the unsupported examples and snippets work on windows.
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
|
||||
set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL TRUE)
|
||||
|
||||
|
||||
if(NOT MSVC)
|
||||
add_subdirectory(examples)
|
||||
add_subdirectory(snippets)
|
||||
endif(NOT MSVC)
|
||||
add_subdirectory(examples)
|
||||
add_subdirectory(snippets)
|
||||
|
||||
@@ -4,7 +4,7 @@ using namespace Eigen;
|
||||
|
||||
int main()
|
||||
{
|
||||
const double pi = std::acos(-1);
|
||||
const double pi = std::acos(-1.0);
|
||||
|
||||
MatrixXd A(3,3);
|
||||
A << 0, -pi/4, 0,
|
||||
|
||||
Reference in New Issue
Block a user