diff options
author | Markus Ferrell <markus.ferrell@kitware.com> | 2022-07-20 17:24:40 (GMT) |
---|---|---|
committer | Markus Ferrell <markus.ferrell@kitware.com> | 2022-08-08 21:15:48 (GMT) |
commit | ccba87b05b022cc021580b65ae51bbae0002fadb (patch) | |
tree | e90c94d2bb65845b23c483dae801cfbd8cf498d3 /Help/guide/tutorial/Step9/MathFunctions/MathFunctions.cxx | |
parent | ad20e7b2ae6e698b6778f0572f1a03fdf1fcacda (diff) | |
download | CMake-ccba87b05b022cc021580b65ae51bbae0002fadb.zip CMake-ccba87b05b022cc021580b65ae51bbae0002fadb.tar.gz CMake-ccba87b05b022cc021580b65ae51bbae0002fadb.tar.bz2 |
Tutorial: Move step 10 to step 4
Shifts steps 4-9 to 5-10.
Diffstat (limited to 'Help/guide/tutorial/Step9/MathFunctions/MathFunctions.cxx')
-rw-r--r-- | Help/guide/tutorial/Step9/MathFunctions/MathFunctions.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Help/guide/tutorial/Step9/MathFunctions/MathFunctions.cxx b/Help/guide/tutorial/Step9/MathFunctions/MathFunctions.cxx deleted file mode 100644 index 0145300..0000000 --- a/Help/guide/tutorial/Step9/MathFunctions/MathFunctions.cxx +++ /dev/null @@ -1,19 +0,0 @@ - -#include "MathFunctions.h" - -#include <cmath> - -#ifdef USE_MYMATH -# include "mysqrt.h" -#endif - -namespace mathfunctions { -double sqrt(double x) -{ -#ifdef USE_MYMATH - return detail::mysqrt(x); -#else - return std::sqrt(x); -#endif -} -} |