if ( $conn ) {
$close = false; // already open
} else {
- $conn = $this->parent->openConnection( $i, $domain );
+ $conn = $this->parent->openConnection( $i, '' );
$close = true; // new connection
}
$newWeight = $movAveRatio * $coefficient + ( 1 - $movAveRatio ) * $lastWeight;
// Scale from 10% to 100% of nominal weight
- $weightScales[$i] = max( $newWeight, .10 );
+ $weightScales[$i] = max( $newWeight, 0.10 );
if ( !$conn ) {
$lagTimes[$i] = false;