mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
replace cstdlib with cmath for float overload of std::abs()
This commit is contained in:
parent
0d2a58409e
commit
7ff384e59b
@ -10,7 +10,7 @@
|
|||||||
* \author [Krishna Vedala](https://github.com/kvedala)
|
* \author [Krishna Vedala](https://github.com/kvedala)
|
||||||
*/
|
*/
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdlib> // for std::abs
|
#include <cmath> // for std::abs
|
||||||
#include <iomanip> // for print formatting
|
#include <iomanip> // for print formatting
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
Loading…
Reference in New Issue
Block a user