AlgebraicJulia / StockFlow.jl

https://algebraicjulia.github.io/StockFlow.jl/
MIT License
63 stars 6 forks source link

Defining nested dynamic variables under :dynamic_variables header in DSL #90

Open neonWhiteout opened 11 months ago

neonWhiteout commented 11 months ago

@stock_and_flow begin :stocks A B

   :dynamic_variables
   v = (A + A) / B
   end

fails, when we'd expect it to create an implicit v0 = A + A and then define v = v0 / B

neonWhiteout commented 11 months ago

@Saityi