From 83a34ba2c024d9116b1f7915f8da0a0c7dfdf1fc Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de> Date: Tue, 8 Aug 2017 16:04:58 +0200 Subject: [PATCH] hotfix: we do need CObjNum::to_dr() even if here and there we respect has_err() --- distrib/core/HOWTO | 7 ++++++- pub/lib/obj.hpp | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/distrib/core/HOWTO b/distrib/core/HOWTO index 470c97f4..5c95b44b 100755 --- a/distrib/core/HOWTO +++ b/distrib/core/HOWTO @@ -1,3 +1,8 @@ +### first of all, check whether all tests pass +cd /G/f2/pub +mi +ctest -j7 + cd /G/f2 git checkout master git pull origin master @@ -56,8 +61,8 @@ mkdir build cd build cmake .. m -j7 -ctest -j7 mi +ctest -j7 ### upload man page (if changed) diff --git a/pub/lib/obj.hpp b/pub/lib/obj.hpp index b8698dd9..616c831c 100644 --- a/pub/lib/obj.hpp +++ b/pub/lib/obj.hpp @@ -47,8 +47,8 @@ class CObjNum : public CObj public: CObjNum() : CObj() {} bool is_vec() const { return false; } -// virtual double to_dr() const { return 0.; } -// virtual double to_dr(int i) const { return 0.; } + virtual double to_dr() const { return 0.; } + virtual double to_dr(int i) const { return 0.; } virtual RObjVecNum to_vec(int repetitions) const = 0; }; -- GitLab