Replace NULL by nullptr

Change-Id: I200a40678091b984a01635d8637a487b7ad5cc13
This commit is contained in:
Sergiu Deitsch
2022-02-14 01:21:14 +01:00
parent 7e4f5a51ba
commit c6158e0ab5
17 changed files with 44 additions and 44 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ class FirstOrderFunction;
// const double y = parameters[1];
//
// cost[0] = (1.0 - x) * (1.0 - x) + 100.0 * (y - x * x) * (y - x * x);
// if (gradient != NULL) {
// if (gradient != nullptr) {
// gradient[0] = -2.0 * (1.0 - x) - 200.0 * (y - x * x) * 2.0 * x;
// gradient[1] = 200.0 * (y - x * x);
// }