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

[modelling/costs] Add getResidual() templated getter for composite cost functions #198

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

ManifoldFR
Copy link
Member

The function template QuadraticResidualCost::getResidual<T>() will attempt a cast to pointer-type T* or const T* to the expected actual type of the stored residual function.

…st functions

+ will attempt a cast to pointer-type to the expected actual type of residual function
@ManifoldFR ManifoldFR force-pushed the topic/composite-cost-cast-residual branch from 977de69 to b20c824 Compare September 17, 2024 11:21
@ManifoldFR ManifoldFR merged commit 0e62452 into devel Sep 17, 2024
16 of 22 checks passed
@ManifoldFR ManifoldFR deleted the topic/composite-cost-cast-residual branch September 17, 2024 13:57
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 this pull request may close these issues.

1 participant