Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / geometry / srs / projections / impl / pj_fwd.hpp
index c1725b0..01b7b97 100644 (file)
@@ -3,8 +3,8 @@
 
 // Copyright (c) 2008-2012 Barend Gehrels, Amsterdam, the Netherlands.
 
-// This file was modified by Oracle on 2017, 2018.
-// Modifications copyright (c) 2017-2018, Oracle and/or its affiliates.
+// This file was modified by Oracle on 2017, 2018, 2019.
+// Modifications copyright (c) 2017-2019, Oracle and/or its affiliates.
 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
 
 // Use, modification and distribution is subject to the Boost Software License,
@@ -90,7 +90,8 @@ inline void pj_fwd(Prj const& prj, P const& par, LL const& ll, XY& xy)
     calc_t x = 0;
     calc_t y = 0;
 
-    prj.fwd(lp_lon, lp_lat, x, y);
+    prj.fwd(par, lp_lon, lp_lat, x, y);
+
     geometry::set<0>(xy, par.fr_meter * (par.a * x + par.x0));
     geometry::set<1>(xy, par.fr_meter * (par.a * y + par.y0));
 }