Skip to content

Commit 00e0417

Browse files
committed
refactor: OMC is now throwing errors on this code
I'm not sure what the issue is here because I can't find the modification that is accessing anything protected. But I just wanted to get this compiling.
1 parent 407cb97 commit 00e0417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ModelicaByExample/Components/LotkaVolterra/Components/RegionalPopulation.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ model RegionalPopulation "Population of animals in a specific region"
1212
Interfaces.Species species
1313
annotation (Placement(transformation(extent={{-10,90},{10,110}}),
1414
iconTransformation(extent={{-10,90},{10,110}})));
15-
protected
15+
public
1616
Real population(start=10) = species.population "Population in this region";
1717
initial equation
1818
if init==InitializationOptions.FixedPopulation then

0 commit comments

Comments
 (0)