Fixed use of constness in FourierMap::scale

This commit is contained in:
Guilhem Lavaux 2012-11-11 14:24:35 -05:00
parent 38eb21def8
commit 596dd5d681

View File

@ -85,7 +85,7 @@ namespace CosmoTool
{ {
assert(size() == map2->size()); assert(size() == map2->size());
MapType m(data(), size()); MapType m(data(), size());
MapType m2(map2->data(), map2->size()); ConstMapType m2(map2->data(), map2->size());
m *= m2; m *= m2;
} }