Skip to content

Commit 316c201

Browse files
committed
Fix brackets
1 parent 0282396 commit 316c201

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/material.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ template <typename Number>
2828
Number
2929
divide_by_dim(const Number &x, const int dim)
3030
{
31-
return Number(x / dim);
31+
return x / Number(dim);
3232
}
3333

3434
template <typename Number,

include/mf_elasticity.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1550,8 +1550,8 @@ namespace FSI
15501550

15511551
// At the end, if it turns out that we have in fact done more iterations
15521552
// than the parameter file allowed, we raise an exception.
1553-
AssertThrow(newton_iteration < parameters.max_iterations_NR,
1554-
ExcMessage("No convergence in nonlinear solver!"));
1553+
Assert(newton_iteration < parameters.max_iterations_NR,
1554+
ExcMessage("No convergence in nonlinear solver!"));
15551555
}
15561556

15571557

0 commit comments

Comments
 (0)