Skip to content

Commit 0b12c92

Browse files
committed
r -> r_vec
1 parent e6fd89b commit 0b12c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/rotation/Rotation.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ rotational_potential(const GpuArray<Real, 3>& r, const GpuArray<Real, 3>& omega,
143143
if (castro::rotation_include_centrifugal == 1) {
144144

145145
GpuArray<Real, 3> omega_cross_r;
146-
cross_product(omega, r, omega_cross_r);
146+
cross_product(omega, r_vec, omega_cross_r);
147147

148148
for (int idir = 0; idir < 3; idir++) {
149149
phi -= 0.5_rt * omega_cross_r[idir] * omega_cross_r[idir];

0 commit comments

Comments
 (0)