Skip to content

Commit d54f415

Browse files
committed
Uservar init moved to mcgenstate->mcsetstate
1 parent aae2dc0 commit d54f415

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

mccode/src/cogen.c.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,6 @@ int cogen_raytrace(struct instr_def *instr)
20532053
coutf(" #endif");
20542054
coutf("");
20552055
coutf(" srandom(_hash((pidx+1)*(seed+1)));");
2056-
coutf(" particle_uservar_init(_particle);");
20572056
coutf("");
20582057
coutf(" raytrace(_particle);");
20592058
coutf(" } /* inner for */");
@@ -2182,7 +2181,6 @@ int cogen_rt_funnel(struct instr_def *instr)
21822181
coutf(" _particle->_uid += mpi_node_rank * ncount; ");
21832182
coutf(" #endif");
21842183
coutf(" srandom(_hash((pidx+1)*(seed+1))); // _particle->state usage built into srandom macro");
2185-
coutf(" particle_uservar_init(_particle);");
21862184
coutf(" }");
21872185
cout( "");
21882186

0 commit comments

Comments
 (0)