Changeset 484

Show
Ignore:
Timestamp:
02/02/2007 04:37:31 PM (2 years ago)
Author:
HansOlsson
Message:

Removed incorrect smooth in LimIntegrator. Verified with Martin

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Modelica/trunk/Modelica/Blocks/Continuous.mo

    r384 r484  
    286286             "  y = " + String(y) + ", outMin = " + String(outMin) + ", outMax = " + String(outMax)); 
    287287    else 
    288        der(y) = smooth(0,if y < outMin and u < 0 or y > outMax and u > 0 then 0 else k*u); 
     288       der(y) = if y < outMin and u < 0 or y > outMax and u > 0 then 0 else k*u; 
    289289    end if; 
    290290  end LimIntegrator;