Skip to content

Commit

Permalink
fix mistake in resetting bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
terwill committed Sep 23, 2020
1 parent a40f1a9 commit 1be58fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cctbx/maptbx/average_densities.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ af::versa<double, af::c_grid<3> > superpose_maps(
if (point_frac_in_2[i]>lb && point_frac_in_2[i]< 0 ){
point_frac_in_2[i] = 0;}
if (point_frac_in_2[i]>1 && point_frac_in_2[i]< ub ){
point_frac_in_2[i] = ub;}
point_frac_in_2[i] = 1;}
}
result_map_ref(i,j,k) = tricubic_interpolation(map_data_1,
point_frac_in_2);
Expand Down

0 comments on commit 1be58fd

Please sign in to comment.