File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,11 @@ class InflationLayer : public Layer
172172 return access_;
173173 }
174174
175+ double getCostScalingFactor ()
176+ {
177+ return cost_scaling_factor_;
178+ }
179+
175180protected:
176181 /* *
177182 * @brief Process updates on footprint changes to the inflation layer
Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ InflationLayer::dynamicParametersCallback(
442442 need_reinflation_ = true ;
443443 need_cache_recompute = true ;
444444 } else if (param_name == name_ + " ." + " cost_scaling_factor" && // NOLINT
445- cost_scaling_factor_ != parameter.as_double ())
445+ getCostScalingFactor () != parameter.as_double ())
446446 {
447447 cost_scaling_factor_ = parameter.as_double ();
448448 need_reinflation_ = true ;
You can’t perform that action at this time.
0 commit comments