Skip to content

Commit 759c40e

Browse files
committed
ECA example fix
1 parent 1e5a9e3 commit 759c40e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cellular_automaton.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ int main(int argc, char **argv) {
6060
dr::mhp::halo(in).exchange();
6161

6262
/* the proper loop calculating new values of automaton's cells */
63-
mhp::for_each(mhp::views::zip(in, out), set_cell);
63+
mhp::for_each(mhp::views::zip(in, out), newvalue);
6464

6565
/* swap input and output vectors, to keep automaton state always in the same
6666
* variable */

0 commit comments

Comments
 (0)