Commit 2a1df1e9 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Conditionally adapt the testConvexity method to the new interface

parent 1620357d
Pipeline #5063 failed with stage
in 14 seconds
......@@ -32,7 +32,11 @@ namespace TNNMG {
*/
template <class Functional>
void testConvexity(const Functional& functional,
#ifdef USE_OLD_TNNMG
const std::vector<typename Functional::VectorType>& testPoints)
#else
const std::vector<typename Functional::Vector>& testPoints)
#endif
{
for (size_t i=0; i<testPoints.size(); i++)
for (size_t j=0; j<testPoints.size(); j++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment