Skip to content

Commit ead09fc

Browse files
committed
Changed instance of std::pow to Utility::pow.
1 parent 8d5a268 commit ead09fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/variational_smoother_system.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ bool VariationalSmootherSystem::element_time_derivative (bool request_jacobian,
427427
const Real chi_prime = 0.5 * (1. + det / sqrt_term);
428428
const Real chi_prime_sq = chi_prime * chi_prime;
429429
// d2chi(x) / dx2
430-
const Real chi_2prime = 0.5 * (1. / sqrt_term - det_sq / std::pow(sqrt_term, 3));
430+
const Real chi_2prime = 0.5 * (1. / sqrt_term - det_sq / Utility::pow<3>(sqrt_term));
431431

432432
// Distortion metric (beta)
433433
//const Real beta = trace_powers[0] / chi;

0 commit comments

Comments
 (0)