diff options
author | Brad King <brad.king@kitware.com> | 2022-10-27 13:39:54 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-10-27 13:40:30 (GMT) |
commit | 4e80c6eff587a576f8e3559350558806b160fe0b (patch) | |
tree | 2fb9cce759b6c9b07a461459025fe96181cda7d4 /Help/guide/tutorial/Step2/tutorial.cxx | |
parent | b885a07ba28ba3fbaf11d087bd0a099fc436f2bf (diff) | |
parent | 277fbb3035cbf5de118412172be307849a4315cb (diff) | |
download | CMake-4e80c6eff587a576f8e3559350558806b160fe0b.zip CMake-4e80c6eff587a576f8e3559350558806b160fe0b.tar.gz CMake-4e80c6eff587a576f8e3559350558806b160fe0b.tar.bz2 |
Merge topic 'tutorial_my_math_consistency' into release-3.25
277fbb3035 Tutorial: Restore USE_MYMATH in place of MY_MATH
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7829
Diffstat (limited to 'Help/guide/tutorial/Step2/tutorial.cxx')
-rw-r--r-- | Help/guide/tutorial/Step2/tutorial.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/guide/tutorial/Step2/tutorial.cxx b/Help/guide/tutorial/Step2/tutorial.cxx index f83aa7e..87f5e0f 100644 --- a/Help/guide/tutorial/Step2/tutorial.cxx +++ b/Help/guide/tutorial/Step2/tutorial.cxx @@ -5,7 +5,7 @@ #include "TutorialConfig.h" -// TODO 11: Only include MathFunctions if MY_MATH is defined +// TODO 11: Only include MathFunctions if USE_MYMATH is defined // TODO 5: Include MathFunctions.h @@ -22,7 +22,7 @@ int main(int argc, char* argv[]) // convert input to double const double inputValue = std::stod(argv[1]); - // TODO 12: Use mysqrt if MY_MATH is defined and sqrt otherwise + // TODO 12: Use mysqrt if USE_MYMATH is defined and sqrt otherwise // TODO 6: Replace sqrt with mysqrt |