From 88be4741c0d03853463bedbebeda7e537cb3717b Mon Sep 17 00:00:00 2001 From: Jiri Vlasak Date: Fri, 13 Sep 2019 10:21:04 +0200 Subject: [PATCH] Fix virtual methods for ext1 --- api/rrts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/rrts.h b/api/rrts.h index 58f6ad8..abd43bb 100644 --- a/api/rrts.h +++ b/api/rrts.h @@ -69,8 +69,8 @@ class RRTS { collide_steered_from(RRTNode &f); std::tuple collide_two_nodes(RRTNode &f, RRTNode &t); - double cost_build(RRTNode &f, RRTNode &t); - double cost_search(RRTNode &f, RRTNode &t); + virtual double cost_build(RRTNode &f, RRTNode &t); + virtual double cost_search(RRTNode &f, RRTNode &t); void sample(); std::default_random_engine gen_; std::normal_distribution ndx_; -- 2.39.2