diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2009-12-11 19:39:01 +0100 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2009-12-11 19:39:01 +0100 |
commit | 494a88685ee995b34da0f3b79a68fa06c0ee63ff (patch) | |
tree | f2e15f8e4c4003ae9d4203d83de651a7ab7914ab /unsupported | |
parent | 9a8c16810be4e4859152789e125fbbcce6c0aeb3 (diff) |
Fixed the bad fix - now the unsupported examples and snippets work on windows.
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/doc/CMakeLists.txt | 8 | ||||
-rw-r--r-- | unsupported/doc/examples/MatrixExponential.cpp | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/unsupported/doc/CMakeLists.txt b/unsupported/doc/CMakeLists.txt index a50d07798..9e9ab9800 100644 --- a/unsupported/doc/CMakeLists.txt +++ b/unsupported/doc/CMakeLists.txt @@ -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) diff --git a/unsupported/doc/examples/MatrixExponential.cpp b/unsupported/doc/examples/MatrixExponential.cpp index 86062e3a6..7dc2396df 100644 --- a/unsupported/doc/examples/MatrixExponential.cpp +++ b/unsupported/doc/examples/MatrixExponential.cpp @@ -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, |