Skip to content

Commit bd0f278

Browse files
committed
Address use of static const.
updates BlueQuartzSoftware#378 Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
1 parent a429b0a commit bd0f278

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

Source/SIMPLib/CoreFilters/GenerateTiltSeries.cpp

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ namespace Rotations
4646
namespace Constants
4747
{
4848
#if DREAM3D_PASSIVE_ROTATION
49-
static const float epsijk = 1.0f;
49+
const float epsijk = 1.0f;
5050
// static const double epsijkd = 1.0;
5151
#elif DREAM3D_ACTIVE_ROTATION
52-
static const float epsijk = -1.0f;
53-
static const double epsijkd = -1.0;
52+
const float epsijk = -1.0f;
53+
const double epsijkd = -1.0;
5454
#endif
5555
} // namespace Constants
5656
} // namespace Rotations
@@ -180,10 +180,7 @@ class ResampleGrid
180180
{
181181
continue;
182182
}
183-
else
184-
{
185-
outputData->copyFromArray(outputVoxelIndex, inputData, inputVoxelIndex, 1);
186-
}
183+
outputData->copyFromArray(outputVoxelIndex, inputData, inputVoxelIndex, 1);
187184
}
188185

189186
#if GTS_GENERATE_DEBUG_ARRAYS

0 commit comments

Comments
 (0)