Skip to content

Commit

Permalink
fix(base_agents): fix Mesa model instantiation after upstream change
Browse files Browse the repository at this point in the history
  • Loading branch information
BjoernLudwigPTB committed May 14, 2024
1 parent bbb84ee commit 3f25f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agentMET4FOF/agents/base_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import matplotlib.pyplot as plt
import mpld3
import numpy as np
from mesa import Agent as MesaAgent
from mesa import Agent as MesaAgent, Model as MesaModel
from osbrain import Agent as osBrainAgent
from plotly import tools as tls
from plotly.graph_objs import Scatter
Expand Down Expand Up @@ -45,7 +45,7 @@ def __init__(
transport=None,
attributes=None,
backend=Backend.OSBRAIN,
mesa_model=None,
mesa_model=MesaModel,
):
self.backend = self.validate_backend(backend)

Expand Down

0 comments on commit 3f25f43

Please sign in to comment.