Bump wpiformat to 2025.34 (#2066)

This commit is contained in:
Sam Freund
2025-08-15 21:05:54 -05:00
committed by GitHub
parent c7f5edc262
commit 27a1cfcb12
5 changed files with 11 additions and 13 deletions

View File

@@ -66,12 +66,10 @@ struct Problem {
};
static std::optional<Problem> createProblem(int numTags, bool heading_free) {
#define MAKE_P(tags, suffix) \
Problem { \
tags, heading_free, calc_J_##tags##_tags_heading_##suffix, \
calc_gradJ_##tags##_tags_heading_##suffix, \
calc_hessJ_##tags##_tags_heading_##suffix \
}
#define MAKE_P(tags, suffix) \
Problem{tags, heading_free, calc_J_##tags##_tags_heading_##suffix, \
calc_gradJ_##tags##_tags_heading_##suffix, \
calc_hessJ_##tags##_tags_heading_##suffix}
#define MAKE_CASE(n) \
case n: \
return heading_free ? MAKE_P(n, free) : MAKE_P(n, fixed);