mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Fixed the bad fix - now the unsupported examples and snippets work on windows.
This commit is contained in:
parent
9a8c16810b
commit
494a88685e
@ -63,7 +63,7 @@ add_custom_target(
|
|||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(doc-eigen-prerequisites all_snippets all_examples)
|
add_dependencies(doc-eigen-prerequisites all_snippets all_examples)
|
||||||
# add_dependencies(doc-unsupported-prerequisites unsupported_snippets unsupported_examples)
|
add_dependencies(doc-unsupported-prerequisites unsupported_snippets unsupported_examples)
|
||||||
add_custom_target(doc ALL
|
add_custom_target(doc ALL
|
||||||
COMMAND doxygen Doxyfile-unsupported
|
COMMAND doxygen Doxyfile-unsupported
|
||||||
COMMAND doxygen
|
COMMAND doxygen
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#warning deprecated
|
#ifndef _MSC_VER
|
||||||
|
#warning deprecated
|
||||||
|
#endif
|
||||||
/* deprecated
|
/* deprecated
|
||||||
Matrix3i m = Matrix3i::Random();
|
Matrix3i m = Matrix3i::Random();
|
||||||
cout << "Here is the matrix m:" << endl << m << endl;
|
cout << "Here is the matrix m:" << endl << m << endl;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#warning deprecated
|
#ifndef _MSC_VER
|
||||||
|
#warning deprecated
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
Matrix3d m = Matrix3d::Zero();
|
Matrix3d m = Matrix3d::Zero();
|
||||||
m.part<Eigen::UpperTriangular>().setOnes();
|
m.part<Eigen::UpperTriangular>().setOnes();
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#warning deprecated
|
#ifndef _MSC_VER
|
||||||
|
#warning deprecated
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
Matrix3d m = Matrix3d::Zero();
|
Matrix3d m = Matrix3d::Zero();
|
||||||
m.part<Eigen::StrictlyUpperTriangular>().setOnes();
|
m.part<Eigen::StrictlyUpperTriangular>().setOnes();
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
|
|
||||||
set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL TRUE)
|
set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL TRUE)
|
||||||
|
|
||||||
|
add_subdirectory(examples)
|
||||||
if(NOT MSVC)
|
add_subdirectory(snippets)
|
||||||
add_subdirectory(examples)
|
|
||||||
add_subdirectory(snippets)
|
|
||||||
endif(NOT MSVC)
|
|
||||||
|
@ -4,7 +4,7 @@ using namespace Eigen;
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
const double pi = std::acos(-1);
|
const double pi = std::acos(-1.0);
|
||||||
|
|
||||||
MatrixXd A(3,3);
|
MatrixXd A(3,3);
|
||||||
A << 0, -pi/4, 0,
|
A << 0, -pi/4, 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user