diff options
Diffstat (limited to 'orbsvcs/orbsvcs/LoadBalancing/LB_LeastLoaded.inl')
-rw-r--r-- | orbsvcs/orbsvcs/LoadBalancing/LB_LeastLoaded.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/orbsvcs/orbsvcs/LoadBalancing/LB_LeastLoaded.inl b/orbsvcs/orbsvcs/LoadBalancing/LB_LeastLoaded.inl index e59193f3c6f..6c68ed57ce5 100644 --- a/orbsvcs/orbsvcs/LoadBalancing/LB_LeastLoaded.inl +++ b/orbsvcs/orbsvcs/LoadBalancing/LB_LeastLoaded.inl @@ -16,7 +16,7 @@ TAO_LB_LeastLoaded::effective_load (CORBA::Float previous_load, CORBA::Float result = this->dampening_ * previous_load + (1 - this->dampening_) * new_load; - ACE_ASSERT (this->tolerance_ != 0); + ACE_ASSERT (!ACE::is_equal (this->tolerance_, 0.0f)); // Compute the effective load. result /= this->tolerance_; |