aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/doc/examples
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2009-12-11 19:39:01 +0100
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2009-12-11 19:39:01 +0100
commit494a88685ee995b34da0f3b79a68fa06c0ee63ff (patch)
treef2e15f8e4c4003ae9d4203d83de651a7ab7914ab /unsupported/doc/examples
parent9a8c16810be4e4859152789e125fbbcce6c0aeb3 (diff)
Fixed the bad fix - now the unsupported examples and snippets work on windows.
Diffstat (limited to 'unsupported/doc/examples')
-rw-r--r--unsupported/doc/examples/MatrixExponential.cpp2
1 files changed, 1 insertions, 1 deletions
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,