Skip to content

Numpy deprecation warning issued from within test_metropolis.py #7369

Open
@ricardoV94

Description

@ricardoV94

Description

 tests/step_methods/test_metropolis.py: 15950 warnings
  D:\a\pymc\pymc\pymc\backends\ndarray.py:118: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
    data[key][self.draw_idx] = val

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions