Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
kei-mo committed May 26, 2022
1 parent 2857a83 commit 6b06b05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def __call__(self, y: float) -> float:

q1 = np.fabs(y - c) / (2 * (np.floor(c - y) + c))
q2 = (4 * a + 2) * np.pi * (0.5 - q1)
return (1.0 + np.cos(q2) + 4 * b * (q1 ** 2)) / (b + 2)
return (1.0 + np.cos(q2) + 4 * b * (q1**2)) / (b + 2)


class WeightedSumReductionTransformation(BaseReductionTransformation):
Expand Down

0 comments on commit 6b06b05

Please sign in to comment.