Skip to content

Commit

Permalink
Fix documentation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Mar 1, 2017
1 parent 0730fac commit 2c527ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ We can now use Mimi to construct a model that binds the ``grosseconomy`` and ``e
```julia
my_model = Model()

setindex(my_model, :time, [2015:5:2110])
setindex(my_model, :time, collect(2015:5:2110))

addcomponent(my_model, grosseconomy) #Order matters here. If the emissions component were defined first, the model would not run.
addcomponent(my_model, emissions)
Expand Down Expand Up @@ -230,7 +230,7 @@ function run_my_model()

my_model = Model()

setindex(my_model, :time, [2015:5:2110])
setindex(my_model, :time, collect(2015:5:2110))
setindex(my_model, :regions, ["Region1", "Region2", "Region3"]) #Note that the regions of your model must be specified here

addcomponent(my_model, grosseconomy)
Expand Down

0 comments on commit 2c527ee

Please sign in to comment.