SuperElastix / elastix

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

STYLE: Add constexpr to `if (Dimension ...)` statements #1148

Closed N-Dekker closed 2 weeks ago

N-Dekker commented 2 weeks ago

Ensures that the if is evaluated at compile-time. Might (slightly) improve compile-time or run-time performance.

Cases found by the regular expression if \(\w*Dimension.