Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'numpy.float64' object does not support item assignment #65

Open
tillea opened this issue Dec 11, 2024 · 0 comments
Open

TypeError: 'numpy.float64' object does not support item assignment #65

tillea opened this issue Dec 11, 2024 · 0 comments

Comments

@tillea
Copy link

tillea commented Dec 11, 2024

Hi,
in Debian we run some CI test which is triggered like this:

 python3 test_model.py

(where test_model.py code can be downloaded here. This leads to

Traceback (most recent call last):
  File "/tmp/autopkgtest-lxc.d39z3x5o/downtmp/autopkgtest_tmp/test_model.py", line 20, in <module>
    model.run(T=300, checkpoints=checkpoints)
  File "/usr/lib/python3/dist-packages/seirsplus/models.py", line 1366, in run
    running = self.run_iteration()
              ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/seirsplus/models.py", line 1248, in run_iteration
    self.timer_state[transitionNode] = 0.0
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
TypeError: 'numpy.float64' object does not support item assignment

You can find the full build log in Debian CI. The version fo seirsplus is the tag 1.1.0.

Kind regards, Andreas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant