Skip to content

Commit 0d6504a

Browse files
author
leonardo beltrame
committed
Fixed SOA(_CONST)_ELEMENT_METHODS sintax in the README
1 parent e04f43e commit 0d6504a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DataFormats/SoATemplate/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ GENERATE_SOA_LAYOUT(SoATemplate,
154154
SOA_COLUMN(double, z),
155155

156156
// methods operating on const_element
157-
SOA_CONST_METHODS(
157+
SOA_CONST_ELEMENT_METHODS(
158158
auto norm() const {
159159
return sqrt(x()*x() + y()+y() + z()*z());
160160
}
161161
),
162162

163163
// methods operating on element
164-
SOA_METHODS(
164+
SOA_ELEMENT_METHODS(
165165
void scale(float arg) {
166166
x() *= arg;
167167
y() *= arg;

0 commit comments

Comments
 (0)