We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e35252d commit bb2dde4Copy full SHA for bb2dde4
include/PyEvents.h
@@ -121,8 +121,9 @@ namespace hydra_python {
121
[](const hydra::Events<N, hydra::BACKEND::sys_t>& e, \
122
hydra::GInt_t idx) { \
123
hypy::BACKEND##_vector_float4 daughters(e.size()); \
124
+ int counter = 0;\
125
for (auto i = e.DaughtersBegin(idx); i != e.DaughtersEnd(idx); ++i) \
- daughters[idx] = *i; \
126
+ daughters[counter++] = *i; \
127
return daughters;\
128
}, "idx"_a, \
129
"Daughters. Get all N daughters of given " \
0 commit comments