Skip to content

Commit

Permalink
update to master
Browse files Browse the repository at this point in the history
  • Loading branch information
CB-quakemodel committed Sep 28, 2023
1 parent ca680c5 commit cf9aa5a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions openquake/hazardlib/gsim/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,6 @@ def get_mean_and_stddevs(self, sites, rup, dists, imt, stddev_types):
if self.compute.__annotations__.get("ctx") is numpy.recarray:
cmaker = ContextMaker('*', [self], {'imtls': {imt.string: [0]},
'mags': ['%.2f' % rup.mag]})
if not isinstance(ctx, numpy.ndarray):
ctx = cmaker.recarray([ctx])
assert self.compute.__annotations__.get("ctx") is numpy.recarray
cmaker = simple_cmaker([self], [imt.string])
if not isinstance(ctx, numpy.ndarray):
Expand Down

0 comments on commit cf9aa5a

Please sign in to comment.