I feel like you’ve been pointed to this in almost every single thread you’ve ever opened on this forum, but I’ll still do it again:
please read it carefully and take it to heart. Make sure that you post minimial, reproducible code snippets that yield the errors you are asking about. @empet has demonstrated how to use the function successfully, you are clearly running something else (the error comes from a main()
function you are running, and shows that you are calling a function with a tuple of matrices as second argument when a vector of SVector
s is required per the method definition.
Just blindly making superficial changes suggested by people on here into some different bit of code that you’re running but not showing really isn’t a good use of time for anyone.