Skip to content

Updating for compatibility with NumPy >= 2.0 #288

@AustL

Description

@AustL

With NumPy >= 2.0, some files raise the following error:

AttributeError: np.mat was removed in the NumPy 2.0 release. Use np.asmatrix instead.

For example, in MJ_solar_cell_tutorial. This should be fixed by replacing np.mat with np.asmatrix in all affected files.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions