Skip to content

Commit aca5f63

Browse files
Update README.md
1 parent da12659 commit aca5f63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ config2 = mc.Configuration()
189189
config2.add_model_parameter('beta', 0.005)
190190
config2.add_model_parameter('gamma', 0.02)
191191
config2.add_model_parameter("percentage_infected", 0.08)
192-
model2.set_initial_status(config)
192+
model2.set_initial_status(config2)
193193
iterations2 = model2.iteration_bunch(200)
194194
viz2 = VisualizeDiffusion(model2, iterations2)
195195
p2 = viz2.plot()
@@ -243,4 +243,4 @@ class MyModel(DiffusionModel):
243243
# return the actual configuration (only nodes with status updates)
244244
return self.actual_iteration - 1, delta
245245
```
246-
If you like to include your model in NDlib (as well as in [NDlib-REST](https://github.com/GiulioRossetti/ndlib-rest)) feel free to fork the project, open an issue and contact us.
246+
If you like to include your model in NDlib (as well as in [NDlib-REST](https://github.com/GiulioRossetti/ndlib-rest)) feel free to fork the project, open an issue and contact us.

0 commit comments

Comments
 (0)