Changeset 13855


Ignore:
Timestamp:
Oct 25, 2019 12:52:56 PM (3 weeks ago)
Author:
Jonathan Kämpe
Message:

#5864 Added changelog item. Removed unnecessary variable in test.

Location:
branches/dev-jk-2619
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-jk-2619/CHANGELOG.txt

    r13719 r13855  
    11================= Unreleased ==================
     2# Fixed ; Minor ; Compiler; #5864
     3Fixed bug where partial variability propagation lead to unbalanced equation systems.
     4
    25# Feature ; Minor ; Compiler; #5837
    36Added a pre-compiled evaluator used for evaluating external functions
  • branches/dev-jk-2619/Compiler/ModelicaMiddleEnd/test/modelica/VariabilityPropagationPartialTests.mo

    r13837 r13855  
    10271027       
    10281028       
    1029         R r = if time > 1 then f(c,time) else f(time,c);
    1030         Real c = 1;
     1029        R r = if time > 1 then f(1,time) else f(time,1);
    10311030
    10321031    annotation(__JModelica(UnitTesting(tests={
     
    10381037 Real r.x1;
    10391038 Real r.x2;
    1040  constant Real c = 1;
    10411039 Real temp_1.x1;
    10421040 Real temp_1.x2;
     
    10451043equation
    10461044 if time > 1 then
    1047   (VariabilityPropagationPartialTests.PartiallyKnownTempAssign1.R(temp_1.x1, temp_1.x2)) = VariabilityPropagationPartialTests.PartiallyKnownTempAssign1.f(1.0, time);
     1045  (VariabilityPropagationPartialTests.PartiallyKnownTempAssign1.R(temp_1.x1, temp_1.x2)) = VariabilityPropagationPartialTests.PartiallyKnownTempAssign1.f(1, time);
    10481046 else
    10491047  temp_1.x1 = 0.0;
     
    10511049 end if;
    10521050 if not time > 1 then
    1053   (VariabilityPropagationPartialTests.PartiallyKnownTempAssign1.R(temp_2.x1, temp_2.x2)) = VariabilityPropagationPartialTests.PartiallyKnownTempAssign1.f(time, 1.0);
     1051  (VariabilityPropagationPartialTests.PartiallyKnownTempAssign1.R(temp_2.x1, temp_2.x2)) = VariabilityPropagationPartialTests.PartiallyKnownTempAssign1.f(time, 1);
    10541052 else
    10551053  temp_2.x1 = 0.0;
Note: See TracChangeset for help on using the changeset viewer.