Skip to content

Commit f9b03b9

Browse files
Piyush ShardaPiyush Sharda
Piyush Sharda
authored and
Piyush Sharda
committed
use amrex::Error instead of std::runtime_error
1 parent 600359a commit f9b03b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

networks/metal_chem/actual_rhs.H

+1-1
Original file line numberDiff line numberDiff line change
@@ -4166,7 +4166,7 @@ std::pair<Real, Real> compute_Semenov_Tdust(Real Tgas, const Array1D<Real, 0, Nu
41664166
}
41674167

41684168
if (iterr > 1000) {
4169-
throw std::runtime_error("Maximum iterations reached in dust temperature NR-solver. Tgas = " +
4169+
amrex::Error("Maximum iterations reached in dust temperature NR-solver. Tgas = " +
41704170
std::to_string(Tgas) +
41714171
", Tdold_start = " +
41724172
std::to_string(krome_Semenov_Tdust) +

0 commit comments

Comments
 (0)