Skip to content

Commit

Permalink
Accelerate SGD test time by skiping additional trials.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoq committed Nov 13, 2021
1 parent c493c55 commit 025095a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
### ensmallen ?.??.?: "???"
###### ????-??-??
* Accelerate SGD test time
([#330](https://github.com/mlpack/ensmallen/pull/300)).

### ensmallen 2.18.0: "Fairmount Bagel"
###### 2021-10-20
Expand Down
1 change: 1 addition & 0 deletions tests/sgd_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ TEST_CASE("GeneralizedRosenbrockTestFloat", "[SGDTest]")
REQUIRE(result == Approx(0.0).margin(1e-5));
for (size_t j = 0; j < i; ++j)
REQUIRE(coordinates(j) == Approx(1.0).epsilon(1e-3));
break;
}
}
}

0 comments on commit 025095a

Please sign in to comment.