Skip to content

Commit

Permalink
use scalar
Browse files Browse the repository at this point in the history
Signed-off-by: petersalemink95 <peter.salemink95@gmail.com>
  • Loading branch information
petersalemink95 committed Jan 8, 2025
1 parent 87b323f commit dc5310a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ template <symmetry_tag current_sensor_symmetry_> class CurrentSensor : public Ge
double const scalar = 1.0 / base_current_;

if (!is_nan(update_data.i_sigma)) {
i_sigma_ = update_data.i_sigma / base_current_;
i_sigma_ = update_data.i_sigma * scalar;
}
if (!is_nan(update_data.i_angle_sigma)) {
i_angle_sigma_ = update_data.i_angle_sigma;
Expand Down

0 comments on commit dc5310a

Please sign in to comment.