-
-
Notifications
You must be signed in to change notification settings - Fork 669
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STYLE: Removed LinearInterpolateImageFunction::m_Neighbors
LinearInterpolateImageFunction has a private static const data member 'm_Neighbors' that is only used once, within EvaluateUnoptimized. This commit removes m_Neighbors. Instead, the number of neighbors is now computed at compile-time, within EvaluateUnoptimized, storing the value into a local constexpr variable. This commit may reduce the runtime overhead somewhat, but it's mostly a style improvement, simplifying the code. Change-Id: I96649e11a543fc0f3f246e1f5023ebbc855c520e
- Loading branch information
Showing
2 changed files
with
4 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters