IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31899


Ignore:
Timestamp:
Jul 18, 2011, 10:38:09 PM (15 years ago)
Author:
rhenders
Message:

forgot to init range variable to > 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czartool/CzarDb.pm

    r31886 r31899  
    609609    # decide on a number for the running mean for rate plots - use 10% of total data points
    610610    my $range = int($count/10);
     611    if ($range < 1) {$range = 1;}
     612
    611613    $self->getTimeMinMaxDiff($label, $stage, $fromTime, $toTime, $minX, $maxX, $timeDiff);
    612614    # grab all the data for the provided time range
Note: See TracChangeset for help on using the changeset viewer.