Open klausweinbauer opened 4 weeks ago
Describe the bug The arguments for the function scipy.sparse.linalg.cg changed. tol was deprecated and got replaced by rtol in version 1.14.0 [1]
scipy.sparse.linalg.cg
tol
rtol
To Reproduce
from grakel.graph import Graph from grakel.kernels import RandomWalk, RandomWalkLabeled RandomWalk().fit_transform([Graph([(0, 1)])]) RandomWalkLabeled().fit_transform([Graph([(0, 1)], node_labels={0: 0, 1: 0})])
Error TypeError: cg() got an unexpected keyword argument 'tol'
TypeError: cg() got an unexpected keyword argument 'tol'
I'll provide a PR.
@klausweinbauer sorry for the late reply. Thank you! Please merge both requests into one and make them backwards compatible and I will pull them :))
Describe the bug The arguments for the function
scipy.sparse.linalg.cg
changed.tol
was deprecated and got replaced byrtol
in version 1.14.0 [1]To Reproduce
Error
TypeError: cg() got an unexpected keyword argument 'tol'
I'll provide a PR.