diff --git a/pyro/simulation_null.py b/pyro/simulation_null.py index 0baaea658..53d79fa45 100644 --- a/pyro/simulation_null.py +++ b/pyro/simulation_null.py @@ -185,6 +185,12 @@ def __init__(self, solver_name, problem_name, problem_func, rp, *, # plotting self.cm = "viridis" + def __str__(self): + ostr = "pyro Simulation:\n" + ostr += f" solver: {self.solver_name}\n" + ostr += f" problem: {self.problem_name}\n" + return ostr + def finished(self): """ is the simulation finished based on time or the number of steps