Skip to content

Commit b056bbe

Browse files
committed
Merge branch 'feature/hhausner_wiremod_xxw-gputnam' of github.com:SBNSoftware/sbncode into feature/recaf-prod-updates
2 parents 71c4c81 + 39d4082 commit b056bbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sbncode/WireMod/Utility/WireModUtility.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ void sys::WireModUtility::ModifyROI(std::vector<float> & roi_data,
688688

689689
q_orig += gausFunc(i_t + roi_prop.begin, subroi_prop.center, subroi_prop.sigma, subroi_prop.total_q);
690690
q_mod += gausFunc(i_t + roi_prop.begin, subroi_prop.center, scale_vals.r_sigma * subroi_prop.sigma, scale_vals.r_Q * subroi_prop.total_q);
691-
sigma_distance += ((i_t + roi_prop.begin - subroi_prop.center)*(i_t + roi_prop.begin - subroi_prop.center) / subroi_prop.sigma*subroi_prop.sigma)*\
691+
sigma_distance += ((i_t + roi_prop.begin - subroi_prop.center)*(i_t + roi_prop.begin - subroi_prop.center) / (subroi_prop.sigma*subroi_prop.sigma))*\
692692
gausFunc(i_t + roi_prop.begin, subroi_prop.center, subroi_prop.sigma, subroi_prop.total_q);
693693

694694
if (verbose)

0 commit comments

Comments
 (0)