Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/gimli-org/gimli into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Günther committed Aug 31, 2023
2 parents 885d765 + 85b5747 commit 60c5e7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pygimli/core/mesh.py
Expand Up @@ -176,7 +176,7 @@ def __Mesh_getVal(self, key):
except:
return uniqueNames[key]

critical('The mesh does not have the requested data:', key,
critical(NameError, 'The mesh does not have the requested data:', key,
'. Available:', uniqueNames)


Expand Down
2 changes: 1 addition & 1 deletion pygimli/solver/solver.py
Expand Up @@ -2444,7 +2444,7 @@ def solveFiniteElements(mesh, a=1.0, b=None, f=0.0, bc=None,
return u

else: # times given
pg.solver.checkCFL(times, mesh, max(a))
pg.solver.checkCFL(times, mesh, max(np.array(a).flatten()))

if debug:
print("start TL", swatch.duration())
Expand Down
2 changes: 1 addition & 1 deletion pygimli/viewer/showmesh.py
Expand Up @@ -653,7 +653,7 @@ def showAnimation(mesh, data, ax=None, **kwargs):

try:
times = mesh['times']
except Exception:
except Exception as e:
times = None

p = pg.utils.ProgressBar(len(data))
Expand Down

0 comments on commit 60c5e7f

Please sign in to comment.