Skip to content

Commit

Permalink
Fix ModelSystem test in benchmark mode
Browse files Browse the repository at this point in the history
Fixes a problem in tests of ModelSystem when benchmark mode is active.
  • Loading branch information
sleweke committed Oct 7, 2020
1 parent feba505 commit 07aab77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ModelSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ namespace

#ifdef CADET_BENCHMARK_MODE
virtual std::vector<double> benchmarkTimings() const { return std::vector<double>(); }
virtual char const* const* benchmarkDescriptions() const { return ""; }
virtual char const* const* benchmarkDescriptions() const { return nullptr; }
#endif

virtual unsigned int numDofs() const CADET_NOEXCEPT { return (_nInletPorts + _nOutletPorts) * _nComp; }
Expand Down

0 comments on commit 07aab77

Please sign in to comment.