@@ -508,7 +508,7 @@ namespace APRFilter {
508508 * the pixels.
509509 */
510510 template <typename T, typename ParticleDataType>
511- void update_same_level (LinearIterator& apr_it,
511+ void update_same_level (LinearIterator apr_it,
512512 const int level,
513513 const int z,
514514 ImageBuffer<T> &temp_vec,
@@ -540,7 +540,7 @@ namespace APRFilter {
540540 * particles correspond to groups of 2^dim pixels.
541541 */
542542 template < typename T, typename ParticleDataType>
543- void update_higher_level (LinearIterator& apr_it,
543+ void update_higher_level (LinearIterator apr_it,
544544 const int level,
545545 const int z,
546546 ImageBuffer<T> &temp_vec,
@@ -571,7 +571,7 @@ namespace APRFilter {
571571
572572
573573 template <typename T, typename ParticleDataType>
574- void update_higher_level (LinearIterator& apr_it,
574+ void update_higher_level (LinearIterator apr_it,
575575 const int level,
576576 const int z,
577577 ImageBuffer<T> &temp_vec,
@@ -610,7 +610,7 @@ namespace APRFilter {
610610 * and passed to the function through tree_data
611611 */
612612 template <typename T, typename ParticleDataType>
613- void update_lower_level (LinearIterator& tree_it,
613+ void update_lower_level (LinearIterator tree_it,
614614 const int level,
615615 const int z,
616616 ImageBuffer<T> &temp_vec,
@@ -641,8 +641,8 @@ namespace APRFilter {
641641 * Reconstruct isotropic neighborhoods around the particles at a given level and depth (z) in a pixel image.
642642 */
643643 template <typename T, typename ParticleDataType, typename ParticleTreeDataType>
644- void update_dense_array (LinearIterator& apr_it,
645- LinearIterator& tree_it,
644+ void update_dense_array (LinearIterator apr_it,
645+ LinearIterator tree_it,
646646 const int level,
647647 const int z,
648648 ParticleDataType &tree_data,
@@ -668,7 +668,7 @@ namespace APRFilter {
668668
669669
670670 template <typename T, typename ParticleDataType>
671- void run_convolution (LinearIterator & apr_it, const int z, const int level, const ImageBuffer<T> &temp_vec, const PixelData<T> &stencil,
671+ void run_convolution (LinearIterator apr_it, const int z, const int level, const ImageBuffer<T> &temp_vec, const PixelData<T> &stencil,
672672 ParticleDataType &outputParticles, const std::vector<int > &stencil_half, const std::vector<int > &stencil_shape){
673673
674674 const int x_num = temp_vec.x_num ;
0 commit comments