Skip to content

Commit

Permalink
fix include order error
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveBronder committed Jun 10, 2021
1 parent 9f65ddf commit 3fb1507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/math/test_ad_matvar.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ template <typename F, typename T1, typename T2, require_eigen_t<T1>* = nullptr,
void expect_ad_vectorized_matvar(const ad_tolerances& tols, const F& f,
const T1& x, const T2& y) {
auto g = [&f](const auto& x, const auto& y) { return f(y, x); };
expect_ad_vectorized_matvar(g, y, x);
expect_ad_vectorized_matvar(tols, g, y, x);
}

/**
Expand Down

0 comments on commit 3fb1507

Please sign in to comment.