Skip to content

Commit

Permalink
Correct sign
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjcroucher committed Feb 9, 2023
1 parent 3306f01 commit bf4fcec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PopPUNK/refine.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def refineFit(distMat, sample_names, mean0, mean1, scale,

global_grid_resolution = 20
x_max_start, y_max_start = decisionBoundary(mean0, gradient, adj = -1*min_move)
x_max_end, y_max_end = decisionBoundary(mean1, gradient, adj = -max_move)
x_max_end, y_max_end = decisionBoundary(mean1, gradient, adj = max_move)

if x_max_start < 0 or y_max_start < 0:
raise RuntimeError("Boundary range below zero")
Expand Down

0 comments on commit bf4fcec

Please sign in to comment.