Skip to content

Commit 8740df0

Browse files
fix: add <cstdint> to numerical_methods/**
1 parent afd4ccb commit 8740df0

7 files changed

+7
-1
lines changed

numerical_methods/brent_method_extrema.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#define _USE_MATH_DEFINES ///< required for MS Visual C++
1717
#include <cassert>
1818
#include <cmath>
19+
#include <cstdint> /// for integral typedefs
1920
#include <functional>
2021
#include <iostream>
2122
#include <limits>

numerical_methods/durand_kerner_roots.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include <cassert>
3434
#include <cmath>
3535
#include <complex>
36+
#include <cstdint> /// for integral typedefs
3637
#include <cstdlib>
3738
#include <ctime>
3839
#include <fstream>

numerical_methods/fast_fourier_transform.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <cassert> /// for assert
2323
#include <cmath> /// for mathematical-related functions
2424
#include <complex> /// for storing points and coefficents
25+
#include <cstdint> /// for integral typedefs
2526
#include <iostream> /// for IO operations
2627
#include <vector> /// for std::vector
2728

numerical_methods/golden_search_extrema.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#define _USE_MATH_DEFINES //< required for MS Visual C++
1111
#include <cassert>
1212
#include <cmath>
13+
#include <cstdint> /// for integral typedefs
1314
#include <functional>
1415
#include <iostream>
1516
#include <limits>

numerical_methods/inverse_fast_fourier_transform.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <cassert> /// for assert
1515
#include <cmath> /// for mathematical-related functions
1616
#include <complex> /// for storing points and coefficents
17+
#include <cstdint> /// for integral typedefs
1718
#include <iostream> /// for IO operations
1819
#include <vector> /// for std::vector
1920

numerical_methods/newton_raphson_method.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* \see bisection_method.cpp, false_position.cpp
1414
*/
1515
#include <cmath>
16+
#include <cstdint> /// for integral typedefs
1617
#include <ctime>
1718
#include <iostream>
1819
#include <limits>

numerical_methods/rungekutta.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
* There can be many such equations
2020
*/
2121
#include <cassert> /// asserting the test functions
22+
#include <cstdint> /// for integral typedefs
2223
#include <iostream> /// for io operations
2324
#include <vector> /// for using the vector container
24-
2525
/**
2626
* @brief The change() function is used
2727
* to return the updated iterative value corresponding

0 commit comments

Comments
 (0)