Skip to content

Commit a1a6dfb

Browse files
committed
remove const qualifier of compute_means argument, causing issues with some compilers
1 parent a41145b commit a1a6dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algorithm/APRConverter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ void APRConverter<ImageType>::autoParameters(const PixelData<T> &localIntensityS
681681

682682

683683
template<typename T>
684-
void compute_means(const std::vector<T>& data, const float threshold, float& mean_back, float& mean_fore) {
684+
void compute_means(const std::vector<T>& data, float threshold, float& mean_back, float& mean_fore) {
685685
float sum_fore=0.f, sum_back=0.f;
686686
size_t count_fore=0, count_back=0;
687687

0 commit comments

Comments
 (0)