tremove redundant braces - slidergrid - grid of elastic sliders on a frictional surface
 (HTM) git clone git://src.adamsgaard.dk/slidergrid
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit e9b6a38b8abbc6939db719054f932214fb1fba4e
 (DIR) parent bbe4664bdeb5aaaabec87ef1036e9ff95562e00d
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Tue, 15 Mar 2016 14:20:14 -0700
       
       remove redundant braces
       
       Diffstat:
         M slider.c                            |       5 ++---
       
       1 file changed, 2 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/slider.c b/slider.c
       t@@ -16,11 +16,10 @@ void update_kinematics(slider s, Float dt, long int iteration)
            s.acc = divide_float3_scalar(s.force, s.mass);
        
            Float3 acc0;
       -    if (iteration == 0) {
       +    if (iteration == 0)
                acc0 = make_float3(0., 0., 0.);
       -    } else {
       +    else
                acc0 = s.acc;
       -    }
        
            const Float3 dacc_dt = make_float3(
                    (s.acc.x - acc0.x)/dt,