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

Use numpy tile instead of matrix #1170

Merged
merged 1 commit into from May 4, 2024
Merged

Use numpy tile instead of matrix #1170

merged 1 commit into from May 4, 2024

Conversation

Zethson
Copy link
Contributor

@Zethson Zethson commented Apr 26, 2024

May fix:

dowhy/gcm/stats.py:4: PendingDeprecationWarning: Importing from numpy.matlib is deprecated since 1.19.0. The matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray. 
    from numpy.matlib import repmat

I couldn't run the tests on my laptop because it's not powerful enough.

Signed-off-by: zethson <lukas.heumos@posteo.net>
Copy link
Member

@bloebp bloebp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I think we use repmat at other places too, maybe worth checking these too.

@amit-sharma amit-sharma merged commit 517a9eb into py-why:main May 4, 2024
30 checks passed
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.

None yet

3 participants