Fixed dot-product in case the first dimension is odd
This commit is contained in:
parent
3c0e7ae8f8
commit
b161ab0990
@ -200,7 +200,7 @@ namespace CosmoTool
|
|||||||
result += 2*(conj(d1[idx]) * d2[idx]).real();
|
result += 2*(conj(d1[idx]) * d2[idx]).real();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!even0)
|
if (even0)
|
||||||
{
|
{
|
||||||
for (long p = 0; p < plane_size; p++)
|
for (long p = 0; p < plane_size; p++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user