File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 CPPUNIT_TEST ( testVectorMultBase ); \
5151 CPPUNIT_TEST ( testVectorAddAssignBase ); \
5252 CPPUNIT_TEST ( testVectorSubAssignBase ); \
53- if (LIBMESH_HAVE_METAPHYSICL) \
54- CPPUNIT_TEST ( testReplaceAlgebraicType );
53+ CPPUNIT_TEST ( testReplaceAlgebraicType );
5554
5655
5756using namespace libMesh ;
@@ -494,9 +493,9 @@ class TypeVectorTestBase : public CppUnit::TestCase {
494493 LIBMESH_ASSERT_FP_EQUAL ( 2.0 , libmesh_real (avector (2 )) , TOLERANCE*TOLERANCE );
495494 }
496495
497- #ifdef LIBMESH_HAVE_METAPHYSICL
498496 void testReplaceAlgebraicType ()
499497 {
498+ #ifdef LIBMESH_HAVE_METAPHYSICL
500499 typedef typename MetaPhysicL::ReplaceAlgebraicType<
501500 std::vector<TypeVector<double >>,
502501 typename TensorTools::IncrementRank<
@@ -505,8 +504,8 @@ class TypeVectorTestBase : public CppUnit::TestCase {
505504 constexpr bool assertion =
506505 std::is_same<ReplacedType, std::vector<TensorValue<double >>>::value;
507506 CPPUNIT_ASSERT (assertion);
508- }
509507#endif
508+ }
510509};
511510
512511#endif // #ifdef __type_vector_test_h__
You can’t perform that action at this time.
0 commit comments