Skip to content

Conversation

@feirog
Copy link

@feirog feirog commented Jan 16, 2026

I noticed several 'np.mat()' instances were still present in the package and limited fix #66 . As such, issue #65 was still present.

With this update, I've ensured all instances of 'np.mat()' have been replaced to 'np.asmatrix()'. To do so, I ran the following shell command:

find * -type f -exec sed -i 's/np.mat(/np.asmatrix(/g' {} ;

This should fix several broken functions. Resolves issue #65 , building on #66 .

I noticed several 'np.mat()' instances were still present in the package and limited fix mims-harvard#66 . As such, issue mims-harvard#65 was still present.

With this update, I've ensured all instances of 'np.mat()' have been replaced to 'np.asmatrix()'. To do so, I've the following shell command:

find * -type f -exec sed -i 's/np.mat(/np.asmatrix(/g' {} \;

This should fix several broken functions, hopefully making Nimfa compatible with numpy v.2.0.0+. Resolves issue mims-harvard#65 , building on mims-harvard#66 .
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

Successfully merging this pull request may close these issues.

1 participant