Skip to content

Commit fb4cf67

Browse files
committed
Fix array syntax
1 parent e995799 commit fb4cf67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ipc/potentials/normal_adhesion_potential.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ NormalAdhesionPotential::normal_adhesion_potential_args(const double dmin) const
6868
const double arg_dhat_a = 2 * dmin * dhat_a + dhat_a * dhat_a;
6969
const double a2 =
7070
Y * eps_c / (4 * (dhat_p + dmin) * (arg_dhat_p - arg_dhat_a));
71-
return { arg_dhat_p, arg_dhat_a, a2 };
71+
return { { arg_dhat_p, arg_dhat_a, a2 } };
7272
}
7373

7474
} // namespace ipc

0 commit comments

Comments
 (0)