IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31826


Ignore:
Timestamp:
Jul 5, 2011, 10:54:32 AM (15 years ago)
Author:
rhenders
Message:

hack to protect against divide by zero

File:
1 edited

Legend:

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

    r30954 r31826  
    464464        if (defined $lastTimestamp) {
    465465
    466             my $timeDiff = $self->diffTimesInSecs($thisTimestamp, $lastTimestamp);
     466            my $timeDiff = $self->diffTimesInSecs($thisTimestamp, $lastTimestamp) + 0.001;
    467467               
    468468            if ($thisProcessed >= $lastProcessed){
Note: See TracChangeset for help on using the changeset viewer.