Skip to content

Commit

Permalink
Merge pull request #108 from jrmaddison/jrmaddison/sliding_law_fix
Browse files Browse the repository at this point in the history
Fix ssa_solver.sliding_law
  • Loading branch information
dngoldberg authored Sep 20, 2022
2 parents 3a9caf7 + 05979cb commit 94fb5a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fenics_ice/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,10 @@ def sliding_law(self, alpha, U):

else:
raise RuntimeError(f"Invalid sliding law: '{sl:s}'")
else:
raise RuntimeError(f"Invalid sliding law: '{sl:s}'")

return B2
return B2

def solve_mom_eq(self, annotate_flag=None):
"""Solve the momentum equation defined in def_mom_eq"""
Expand Down

0 comments on commit 94fb5a5

Please sign in to comment.