Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FormerLurker/ArcWelderLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'GcodeProcessorLib/gcode_position.cpp')
-rw-r--r--GcodeProcessorLib/gcode_position.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/GcodeProcessorLib/gcode_position.cpp b/GcodeProcessorLib/gcode_position.cpp
index 444a879..daf66e4 100644
--- a/GcodeProcessorLib/gcode_position.cpp
+++ b/GcodeProcessorLib/gcode_position.cpp
@@ -616,7 +616,7 @@ void gcode_position::update(parsed_command& command, const long file_line_number
{
double r;
r = snapshot_x_max_; // good stand in for radius
- const double dist = sqrt(p_current_pos->x*p_current_pos->x + p_current_pos->y*p_current_pos->y);
+ const double dist = utilities::sqrt(p_current_pos->x*p_current_pos->x + p_current_pos->y*p_current_pos->y);
is_in_bounds = utilities::less_than_or_equal(dist, r);
}