Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gsTensorBasis::elementIndex seems not right #702

Open
kmrkmrkmr opened this issue May 6, 2024 · 0 comments · May be fixed by #709
Open

gsTensorBasis::elementIndex seems not right #702

kmrkmrkmr opened this issue May 6, 2024 · 0 comments · May be fixed by #709
Assignees
Labels

Comments

@kmrkmrkmr
Copy link

gsTensorBasis::elementIndex reads an Eigen::VectorXd variable u, and then use it col(d - 1) or col(i), should it be row()?

I write gsTensorBSpline<2> surface(basis, coeffs); surface.basis().elementIndex(surface.basis().anchors().col(i)); and get Assert v == T(Value). I try to change it to row() and it works well.

Here is the desktop information
Arch Linux Kernel: x86_64 Linux 6.8.8-arch1-1
Gismo: version 23.12.0

@kmrkmrkmr kmrkmrkmr added the bug label May 6, 2024
@hverhelst hverhelst linked a pull request May 15, 2024 that will close this issue
@hverhelst hverhelst linked a pull request May 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants