aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/TutorialSlicingIndexing.dox2
-rw-r--r--test/jacobisvd.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/TutorialSlicingIndexing.dox b/doc/TutorialSlicingIndexing.dox
index 3b60eac6e..98ace43e4 100644
--- a/doc/TutorialSlicingIndexing.dox
+++ b/doc/TutorialSlicingIndexing.dox
@@ -2,7 +2,7 @@ namespace Eigen {
/** \eigenManualPage TutorialSlicingIndexing Slicing and Indexing
-This pape presents the numerous possibilities offered by `operator()` to index sub-set of rows and columns.
+This page presents the numerous possibilities offered by `operator()` to index sub-set of rows and columns.
This API has been introduced in %Eigen 3.4.
It supports all the feature proposed by the \link TutorialBlockOperations block API \endlink, and much more.
In particular, it supports \b slicing that consists in taking a set of rows, columns, or elements, uniformly spaced within a matrix or indexed from an array of indices.
diff --git a/test/jacobisvd.cpp b/test/jacobisvd.cpp
index 41fd0631f..505bf57ae 100644
--- a/test/jacobisvd.cpp
+++ b/test/jacobisvd.cpp
@@ -70,7 +70,9 @@ void jacobisvd_method()
}
namespace Foo {
-class Bar {};
+// older compiler require a default constructor for Bar
+// cf: https://stackoverflow.com/questions/7411515/
+class Bar {public: Bar() {}};
bool operator<(const Bar&, const Bar&) { return true; }
}
// regression test for a very strange MSVC issue for which simply