Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
0ac56e9a
Verified
Commit
0ac56e9a
authored
Oct 16, 2019
by
Justin Carpentier
Browse files
test/tensor: only test when C++11 is ON
parent
7d2053ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
unittest/eigen-tensor.cpp
View file @
0ac56e9a
...
...
@@ -9,12 +9,15 @@
#include <boost/test/unit_test.hpp>
#include <boost/utility/binary.hpp>
#include <unsupported/Eigen/CXX11/Tensor>
#ifdef PINOCCHIO_WITH_CXX11_SUPPORT
#include <unsupported/Eigen/CXX11/Tensor>
#endif
#include <iostream>
BOOST_AUTO_TEST_SUITE
(
BOOST_TEST_MODULE
)
#ifdef PINOCCHIO_WITH_CXX11_SUPPORT
BOOST_AUTO_TEST_CASE
(
test_emulate_tensors
)
{
typedef
Eigen
::
Tensor
<
double
,
3
>
Tensor
;
...
...
@@ -42,5 +45,6 @@ BOOST_AUTO_TEST_CASE(test_emulate_tensors)
}
}
}
#endif
BOOST_AUTO_TEST_SUITE_END
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment