diff options
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysishelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scaddins/source/analysis/analysishelper.hxx b/scaddins/source/analysis/analysishelper.hxx index 093d939301eb..835593518a98 100644 --- a/scaddins/source/analysis/analysishelper.hxx +++ b/scaddins/source/analysis/analysishelper.hxx @@ -652,7 +652,7 @@ inline double Complex::Imag() const inline double Complex::Abs() const { - return sqrt( r * r + i * i ); + return std::hypot(r, i); } |