Skip to content

Commit

Permalink
[bugfix]: absolute value and typo (#1676)
Browse files Browse the repository at this point in the history
Signed-off-by: Jaeyeon Kim <anencore94@gmail.com>
Co-authored-by: Seongjin Kim <seongjinkim1123@gmail.com>

Co-authored-by: Seongjin Kim <seongjinkim1123@gmail.com>
  • Loading branch information
anencore94 and seong7 authored Sep 27, 2021
1 parent d6f75fe commit d905943
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<!--step info-->
<div class="lib-step-info-wrapper">
<lib-step-info header="Search Algorithm">
The <em>Search Algorithm</em> is responsible for navigating throught the
The <em>Search Algorithm</em> is responsible for navigating through the
optimization search space and creating <em>Trial CRs</em> for each step.
The algorithms' code will be executed from the underlying
<em>Suggestion CR.</em>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ export class FormHyperParametersComponent {
}

currentConfs =
Math.ceil((parseFloat(max) - parseFloat(min)) / parseFloat(step)) + 1;
Math.abs(
Math.ceil((parseFloat(max) - parseFloat(min)) / parseFloat(step)),
) + 1;
}

if (currentConfs === 0) {
Expand Down

0 comments on commit d905943

Please sign in to comment.