Skip to content

Commit

Permalink
Fix cont test function
Browse files Browse the repository at this point in the history
  • Loading branch information
yhna940 committed Jun 13, 2022
1 parent 5c7dacc commit af90270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmtune/mm/tasks/cont_test_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _step(s: float) -> float:
Returns:
float: output.
"""
return float(np.exp(int(np.log(np.nan_to_num(s)))))
return float(np.exp(int(np.nan_to_num(np.log(s)))))


@TASKS.register_module()
Expand Down

0 comments on commit af90270

Please sign in to comment.