- Thank you received: 0
after update ngsolve, python code does not work any more.
1 year 7 months ago #4725
by Kai
after update ngsolve, python code does not work any more. was created by Kai
I updated ngsolve to "NGSolve-6.2.2302-38-g68e747b4f" and now my python script does not work anymore. its really frustrating. Please help me, i got this error and do not know whats wrong because everything work before update :
Code:
TypeError: ArnoldiSolver(): incompatible function arguments. The following argument types are supported:
1. (mata: BaseMatrix, matm: BaseMatrix, freedofs: pyngcore.pyngcore.BitArray, vecs: list, shift: complex = <ngsolve.ngstd.DummyArgument>, inverse: Optional[str] = None) -> ngsolve.bla.VectorC
Invoked with: <ngsolve.la.SparseMatrixSt7complexIdE object at 0x7f41d2d8fc70>, <ngsolve.la.SparseMatrixSt7complexIdE object at 0x7f41d2d43b30>, <pyngcore.pyngcore.BitArray object at 0x7f41d2d43df0>, <ngsolve.la.MultiVector object at 0x7f41d2d8d670>, 10
1 year 7 months ago #4726
by Kai
Replied by Kai on topic after update ngsolve, python code does not work any more.
Ok, i found that
works, before i had
Code:
ngsolve.ArnoldiSolver(a.mat, b.mat, fes.FreeDofs(), list(u.vecs), shift)
works, before i had
Code:
ngsolve.ArnoldiSolver(a.mat, b.mat, fes.FreeDofs(), u.vecs, shift)
Time to create page: 0.096 seconds