Commit 80196ca2 authored by Sebastian Heimann's avatar Sebastian Heimann
Browse files

fix error with oceanic models

parent 4483e462
......@@ -87,7 +87,10 @@ class CakePhaseShifter(Shifter):
def get_vmin(self):
vs = self.get_earthmodel().profile('vs')
return num.min(vs[vs != 0.0])
vp = self.get_earthmodel().profile('vp')
v = num.concatenate((vs, vp))
vmin = num.min(v[v != 0.0])
return vmin
def ttt_path(self, ehash):
return op.join(self._cache_path, ehash + '.spit')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment