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

fix #715, we can obtain the shape of a Cm05Matrix #716

Merged
merged 1 commit into from
May 13, 2024

Conversation

AmirMardan
Copy link
Contributor

In this PR, I fix a minor issue that exists for obtaining the shape of a Cm05Matrix, issue #715

Without this PR, running the following script

import pygimli as pg

# No matter what mesh
A = pg.utils.covarianceMatrix(mesh, I=5)
cm05 = pg.matrix.createCm05(A)

print(cm05.shape)

throws

return self.row()
           ^^^^^^^^
AttributeError: 'Cm05Matrix' object has no attribute 'row'

Accepting this PR, this error will be fixed

fix #715

@halbmy halbmy merged commit 19e6fca into gimli-org:dev May 13, 2024
@AmirMardan AmirMardan deleted the bug-typo/Cm05.cols branch May 13, 2024 11:26
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

2 participants