Skip to content

Commit

Permalink
Initialize stock amounts from maps as amounts per unit area.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoFrid committed Oct 23, 2019
1 parent e236d39 commit bb4937e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runtime/StockFlowTransformer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ private void OnSTSimCellInitialized(object sender, CellEventArgs e)
}

v = GetLimitBasedInitialStock(v, lim);
StockAmounts[s.StockTypeId] = v;
StockAmounts[s.StockTypeId] = v*this.m_STSimTransformer.AmountPerCell;
}
else
{
Expand Down

0 comments on commit bb4937e

Please sign in to comment.