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 e04f43e commit 0d6504aCopy full SHA for 0d6504a
DataFormats/SoATemplate/README.md
@@ -154,14 +154,14 @@ GENERATE_SOA_LAYOUT(SoATemplate,
154
SOA_COLUMN(double, z),
155
156
// methods operating on const_element
157
- SOA_CONST_METHODS(
+ SOA_CONST_ELEMENT_METHODS(
158
auto norm() const {
159
return sqrt(x()*x() + y()+y() + z()*z());
160
}
161
),
162
163
// methods operating on element
164
- SOA_METHODS(
+ SOA_ELEMENT_METHODS(
165
void scale(float arg) {
166
x() *= arg;
167
y() *= arg;
0 commit comments