Skip to content

Commit

Permalink
Bump copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Mar 15, 2022
1 parent 6237a23 commit 14f3025
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions Modelica/Resources/C-Sources/ModelicaStandardTables.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ModelicaStandardTables.c - External table functions
Copyright (C) 2013-2021, Modelica Association and contributors
Copyright (C) 2013-2022, Modelica Association and contributors
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -6250,7 +6250,6 @@ static size_t findColIndex(_In_ const double* table, size_t nCol, size_t last, d
return findColIndex2(table, nCol, last, x, 0.0);
}


/* ----- Internal check functions ----- */

static int isLessOrEqualWNegativeSlope(double x, double dx, double val) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2013-2021, Modelica Association and contributors
Copyright (C) 2013-2022, Modelica Association and contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions ModelicaTest/Tables/CombiTable2Ds.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ double mydummyfunc(double dummy_in) {
points={{-59,-10},{-52,-10},{-52,4},{-42,4}}, color={0,0,127}));
annotation (experiment(StartTime=0, StopTime=14));
end Test33;

model OneSidedDerivative2D "Test of one sided derivatives in 2D-tables (Ticket #3893)"
// We are starting at boundaries of the table
// Case 2 and 4 slide diagonally (from different corners)
Expand Down Expand Up @@ -1182,7 +1182,7 @@ double mydummyfunc(double dummy_in) {
annotation (Placement(transformation(extent={{-20,-80},{0,-60}})));
Modelica.Blocks.Continuous.Der der3
annotation (Placement(transformation(extent={{20,-80},{40,-60}})));
equation
equation
connect(combiTable2Ds2.y, der2.u)
annotation (Line(points={{61,70},{78,70}}, color={0,0,127}));
connect(ramp.y, combiTable2Ds2.u1) annotation (Line(points={{-59,50},{18,50},{
Expand Down
4 changes: 2 additions & 2 deletions ModelicaTest/Tables/CombiTable2Dv.mo
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ double mydummyfunc(double dummy_in) {
points={{-59,-10},{-52,-10},{-52,4},{-42,4}}, color={0,0,127}));
annotation (experiment(StartTime=0, StopTime=14));
end Test33;

model OneSidedDerivative2D "Test of one sided derivatives in 2D-tables (Ticket #3893)"
// We are starting at boundaries of the table
// Case 2 and 4 slide diagonally (from different corners)
Expand Down Expand Up @@ -1003,7 +1003,7 @@ double mydummyfunc(double dummy_in) {
-70})));
Modelica.Blocks.Continuous.Der der3
annotation (Placement(transformation(extent={{-10,-10},{10,10}}, origin={30,-70})));
equation
equation
connect(combiTable2Dv.y[2], der2.u)
annotation (Line(points={{44,40},{72,40},{72,30},{78,30}},
color={0,0,127}));
Expand Down

0 comments on commit 14f3025

Please sign in to comment.