Fixed dot-product in case the first dimension is odd

This commit is contained in:
Guilhem Lavaux 2012-11-11 09:10:30 -05:00
parent 3c0e7ae8f8
commit b161ab0990

View File

@ -200,7 +200,7 @@ namespace CosmoTool
result += 2*(conj(d1[idx]) * d2[idx]).real();
}
}
if (!even0)
if (even0)
{
for (long p = 0; p < plane_size; p++)
{