aadya940 / chainopy

ChainoPy: A Python Library for Discrete Time Markov Chain based stochastic analysis
https://chainopy.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
13 stars 1 forks source link

BUG: `simulate` produces error when using kwargs in method call #5

Closed aadya940 closed 4 months ago

aadya940 commented 4 months ago
>>> x.simulate(initial_state="Rainy", n_steps=50)
Exception in function 'simulate': tuple index out of range
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/aadya/.local/lib/python3.10/site-packages/chainopy/exceptions.py", line 39, in wrapper
    n_steps = args[2]
IndexError: tuple index out of range