aboutsummaryrefslogtreecommitdiff
path: root/src/pj_deriv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_deriv.cpp')
-rw-r--r--src/pj_deriv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_deriv.cpp b/src/pj_deriv.cpp
index 2c91e0cc..0e285265 100644
--- a/src/pj_deriv.cpp
+++ b/src/pj_deriv.cpp
@@ -9,7 +9,7 @@ int pj_deriv(LP lp, double h, const PJ *P, struct DERIVS *der) {
XY t;
/* get rid of constness until we can do it for real */
PJ *Q = (PJ *) P;
- if (0==Q->fwd)
+ if (nullptr==Q->fwd)
return 1;
lp.lam += h;