SuperElastix / elastix

Official elastix repository
http://elastix.dev
Apache License 2.0
449 stars 110 forks source link

STYLE: Replace `if (ParametersDimension ...)` clauses with static_assert #1147

Closed N-Dekker closed 2 weeks ago

N-Dekker commented 2 weeks ago

ParametersDimension is always specified at compile time by the transform type itself.

This commit might improve run-time performance.