Skip to content

Commit 86f7939

Browse files
committed
remove constexpr if () in test_ad_matvar to be compliant with gcc <= 7.5.0
1 parent 78d93d8 commit 86f7939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/math/test_ad_matvar.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ inline void expect_ad_matvar_impl(const ad_tolerances& tols, const F& f,
448448
},
449449
A_vm_tuple);
450450

451-
if constexpr (!any_varmat) {
451+
if (!any_varmat) {
452452
SUCCEED(); // If no varmats are created, skip this test
453453
return;
454454
} else {

0 commit comments

Comments
 (0)