leobois67

Results 6 comments of leobois67

I believe this example stopped working after this commit [5029c050f68078ab5173d1ffcace69598caa7f8b](https://github.com/sofa-framework/SofaPython3/commit/5029c050f68078ab5173d1ffcace69598caa7f8b) by @alxbilger. I don’t know exactly how things worked before, but now when I try to fix it, (1) I...

@alxbilger I agree that it probably did not work as it was supposed to. The matrix that was passed was not a numpy array but a jax array, with shape...

I think I got something that works relatively well, by returning only the non-zero values as you suggested. I left the code that returns the dense matrix for people who...

I just checked and it still works on my machine, both on CPU and GPU. To be sure that `addKToMatrix()` is to blame, have you tried a version without the...

You can come to me next time you work on this PR, but in case I am not available, here are some other quick suggestions: * Try changing the number...