We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0282396 commit 316c201Copy full SHA for 316c201
include/material.h
@@ -28,7 +28,7 @@ template <typename Number>
28
Number
29
divide_by_dim(const Number &x, const int dim)
30
{
31
- return Number(x / dim);
+ return x / Number(dim);
32
}
33
34
template <typename Number,
include/mf_elasticity.h
@@ -1550,8 +1550,8 @@ namespace FSI
1550
1551
// At the end, if it turns out that we have in fact done more iterations
1552
// than the parameter file allowed, we raise an exception.
1553
- AssertThrow(newton_iteration < parameters.max_iterations_NR,
1554
- ExcMessage("No convergence in nonlinear solver!"));
+ Assert(newton_iteration < parameters.max_iterations_NR,
+ ExcMessage("No convergence in nonlinear solver!"));
1555
1556
1557
0 commit comments