Integrating github/staging through commit ab87ed9

This commit is contained in:
alexpete
2021-04-09 11:27:37 -07:00
parent ae62a97894
commit 1044dc3da1
1582 changed files with 29374 additions and 519051 deletions
+4 -2
View File
@@ -594,7 +594,8 @@ Quatern snuggle(Quatern q, HVect* k)
mag[2] = (double)q.y * q.z + (double)q.x * q.w;
for (i = 0; i < 3; i++)
{
if (neg[i] = (mag[i] < 0.0))
neg[i] = (mag[i] < 0.0);
if (neg[i])
{
mag[i] = -mag[i];
}
@@ -670,7 +671,8 @@ Quatern snuggle(Quatern q, HVect* k)
for (i = 0; i < 4; i++)
{
pa[i] = 0.0;
if (neg[i] = (qa[i] < 0.0))
neg[i] = (qa[i] < 0.0);
if (neg[i])
{
qa[i] = -qa[i];
}