On line 1158:
my $split1 = (($energy_before[$j]-$energy_rebin[$k])*$totcount)/($ener +gy_before[$j]-$energy_before[${j}-1]);
Note the "$energy_before[${j}-1]". What happens to that index when $j is 0?
-- Human history becomes more and more a race between education and catastrophe. -- HG Wells
In reply to Re: Spurious `undefined' values and conversion issues
by oko1
in thread Spurious `undefined' values and conversion issues
by sf_ashley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |