diff options
-rw-r--r-- | api/rs_for_each.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/rs_for_each.spec b/api/rs_for_each.spec index 5d513161..9206d021 100644 --- a/api/rs_for_each.spec +++ b/api/rs_for_each.spec @@ -109,8 +109,8 @@ description: This can be done by defining an rs_allocation variable and not initializing it. E.g.<code><br/> rs_script gCustomScript;<br/> void specializedProcessing(rs_allocation in) {<br/> - rs_allocation ignoredOut;<br/> - rsForEach(gCustomScript, in, ignoredOut);<br/> + rs_allocation ignoredOut;<br/> + rsForEach(gCustomScript, in, ignoredOut);<br/> }<br/></code> If both input and output allocations are specified, they must have the same dimensions. |