From 7286224210bbab7fb126fbc3431c6941f5bafea8 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 20 Sep 2000 16:17:42 +0000 Subject: [PATCH] Change A* and B* variables to lowercase to avoid conflicting defines with Irix includes. --- src/WeatherCM/linintp2.inl | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/WeatherCM/linintp2.inl b/src/WeatherCM/linintp2.inl index 20dc2a857..f10bd505c 100644 --- a/src/WeatherCM/linintp2.inl +++ b/src/WeatherCM/linintp2.inl @@ -101,18 +101,18 @@ template void mgcLinInterp2D::ComputeBarycenter (Vertex& v0, Vertex& v1, Vertex& v2, Vertex& ver, double c[3]) { - double A0 = v0.x-v2.x; - double B0 = v0.y-v2.y; - double A1 = v1.x-v2.x; - double B1 = v1.y-v2.y; - double A2 = ver.x-v2.x; - double B2 = ver.y-v2.y; + double a0 = v0.x-v2.x; + double b0 = v0.y-v2.y; + double a1 = v1.x-v2.x; + double b1 = v1.y-v2.y; + double a2 = ver.x-v2.x; + double b2 = ver.y-v2.y; - double m00 = A0*A0+B0*B0; - double m01 = A0*A1+B0*B1; - double m11 = A1*A1+B1*B1; - double r0 = A2*A0+B2*B0; - double r1 = A2*A1+B2*B1; + double m00 = a0*a0+b0*b0; + double m01 = a0*a1+b0*b1; + double m11 = a1*a1+b1*b1; + double r0 = a2*a0+b2*b0; + double r1 = a2*a1+b2*b1; double det = m00*m11-m01*m01; c[0] = (m11*r0-m01*r1)/det;