Skip to content

Commit a2f7fda

Browse files
committed
Woops
1 parent d85da7f commit a2f7fda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/composite_rheology_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ def perturb_u(x, y):
101101
)
102102

103103
F = derivative(L, z)
104-
qdegree = max(8, degree ** glen_flow_law)
104+
qdegree = max(8, degree ** constants.glen_flow_law)
105105
pparams = {"form_compiler_parameters": {"quadrature_degree": qdegree}}
106106
problem = NonlinearVariationalProblem(F, z, bcs, **pparams)
107107
solver = NonlinearVariationalSolver(problem, **sparams)
108108

109-
num_continuation_steps = 5
110-
for exponent in np.linspace(1.0, glen_flow_law, num_continuation_steps):
109+
num_steps = 5
110+
for exponent in np.linspace(1.0, constants.glen_flow_law, num_steps):
111111
n_3.assign(exponent)
112112
solver.solve()
113113

0 commit comments

Comments
 (0)