diff options
author | Volker Hoffmann <volker@cheleb.net> | 2013-05-14 18:01:22 +0200 |
---|---|---|
committer | Volker Hoffmann <volker@cheleb.net> | 2013-05-14 18:01:22 +0200 |
commit | b09d314c0cf82e63ca0d56994790ba083918e74c (patch) | |
tree | d484ad5ca65bad8a7e96f3349364d3fd62ffb4c9 | |
parent | c9573d4227430de5f0f6a7a65efb8d5952a2e2f0 (diff) |
removed second loop check
-rw-r--r-- | plot_quad.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plot_quad.py b/plot_quad.py index 621c34d..edbad75 100644 --- a/plot_quad.py +++ b/plot_quad.py @@ -23,7 +23,7 @@ if args.imin > args.imax: iouts = range(args.imin, args.imax+1) # Determine Density Limits -first = True; second = False +first = True for iout in iouts: print "Scanning MinMax %i/%i." % (iout, iouts[-1]) disk = DiskXYZ.Disk(iout) @@ -36,7 +36,7 @@ for iout in iouts: ylo_pos = disk2.mdotr_r_g0_min; yhi_pos = disk2.mdotr_r_g0_max ylo_neg = disk2.mdotr_r_l0_min; yhi_neg = disk2.mdotr_r_l0_max first = False - second = True + else: if disk.rho_r_no0_min < rho_r_lo: rho_r_lo = disk.rho_r_no0_min if disk.rho_r_no0_max > rho_r_hi: rho_r_hi = disk.rho_r_no0_max |