Reverting null test

This commit is contained in:
Stowell, Mark L
2024-09-10 19:52:32 -04:00
parent 00de67dd3a
commit 0685ed9e49
+1 -5
View File
@@ -185,12 +185,8 @@ DenseMatrix FuentesPyramid::grad_mu01(real_t z)
Vector FuentesPyramid::grad_mu0(real_t z, const Vector xy, unsigned int ab)
{
// Vector dmu({0.0, 0.0, - xy[ab-1] / pow(1.0 - z, 2)});
Vector dmu(3);
dmu[0] = 0.0;
dmu[1] = 0.0;
Vector dmu({0.0, 0.0, - xy[ab-1] / pow(1.0 - z, 2)});
dmu[ab-1] = -1.0 / (1.0 - z);
dmu[2] = - xy[ab-1] / pow(1.0 - z, 2);
return dmu;
}