Commit 71d4e9ee authored by Martin Reinecke's avatar Martin Reinecke

fixes

parent 17ca0328
......@@ -76,7 +76,7 @@ template<typename T1, typename T2, size_t nd1, size_t nd2, typename Func>
func(iin, iout);
iin.inc();iout.inc();
}
return aout;
return move(aout);
}
class Pyhpbase
......@@ -198,7 +198,7 @@ class Pyhpbase
oref(i,0)=pixset.ivbegin(i);
oref(i,1)=pixset.ivend(i);
}
return res;
return move(res);
}
};
......@@ -240,7 +240,7 @@ py::array local_v_angle (const py::array &v1, const py::array &v2)
vec3(ii2(i,0),ii2(i,1),ii2(i,2)));
ii1.inc();ii2.inc();iout.inc();
}
return angle;
return move(angle);
}
const char *pyHealpix_DS = R"""(
......
......@@ -26,6 +26,7 @@
#include <array>
#include <vector>
#include <memory>
#include <numeric>
#include "mr_util/infra/error_handling.h"
namespace mr {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment