work, please give provide some additional information on your:
Operating system: Mac
Python version: 3.11
pyGIMLi version: 1.4.6
Way of installation: Conda package
Steps to reproduce
import pygimli as pg
# No matter what mesh
A = pg.utils.covarianceMatrix(mesh, I=5)
cm05 = pg.matrix.createCm05(A)
print(cm05.shape)
...
Expected behavior
Cm05.cols() should return the number of columns in the matrix. As cm05 is a square matrix, Cm05.cols() returns Cm05.row() but the matrix does not have this method. Instead, it should return Cm05.rows(). So, there is a typo here.
Actual behavior
It throws this error
AttributeError: 'Cm05Matrix' object has no attribute 'row'
Problem description
Calling the shape of a
Cm05Matrix
throws back an attribute error.Your environment
Date: Sun May 12 10:12:59 2024 EDT
work, please give provide some additional information on your:
Operating system: Mac Python version: 3.11 pyGIMLi version: 1.4.6 Way of installation: Conda package
Steps to reproduce
Expected behavior
Cm05.cols()
should return the number of columns in the matrix. As cm05 is a square matrix,Cm05.cols()
returnsCm05.row()
but the matrix does not have this method. Instead, it should returnCm05.rows()
. So, there is a typo here.Actual behavior
It throws this error