Skip to content

Commit

Permalink
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-buildbot committed Jul 25, 2024
1 parent 2d2fcdd commit e546442
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/test/unit/services/util/inv_metric_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ TEST(inv_metric, create_diag_sz100) {
ASSERT_NEAR(1.0, diag_vals[99], 0.0001);
}


TEST(inv_metric, create_dense_sz0) {
auto default_metric = stan::services::util::create_unit_e_dense_inv_metric(0);
stan::io::var_context& inv_inv_metric = default_metric;
std::vector<double> diag_vals = inv_inv_metric.vals_r("inv_metric");
EXPECT_EQ(0, diag_vals.size());
}


TEST(inv_metric, create_dense_sz2) {
auto default_metric = stan::services::util::create_unit_e_dense_inv_metric(2);
stan::io::var_context& inv_inv_metric = default_metric;
Expand Down

0 comments on commit e546442

Please sign in to comment.