File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,10 @@ int main(int argc, char *argv[])
69
69
paramsd[" num_particles" ] = rf.findGroup (" PF" ).check (" num_particles" , Value (50 )).asInt ();
70
70
paramsd[" gpu_count" ] = rf.findGroup (" PF" ).check (" gpu_count" , Value (1.0 )).asInt ();
71
71
paramsd[" num_images" ] = paramsd[" num_particles" ] / paramsd[" gpu_count" ];
72
- paramsd[" play" ] = rf.findGroup (" PF" ).check (" play" , Value (1.0 )).asDouble ();
72
+ if (rf.check (" play" ))
73
+ paramsd[" play" ] = 1.0 ;
74
+ else
75
+ paramsd[" play" ] = rf.findGroup (" PF" ).check (" play" , Value (1.0 )).asDouble ();
73
76
74
77
paramsd[" q_xy" ] = rf.findGroup (" BROWNIANMOTION" ).check (" q_xy" , Value (0.005 )).asDouble ();
75
78
paramsd[" q_z" ] = rf.findGroup (" BROWNIANMOTION" ).check (" q_z" , Value (0.005 )).asDouble ();
You can’t perform that action at this time.
0 commit comments