use flux instead of dflux in compare_thin
(#467)