Skip to content

Commit 9f80d91

Browse files
committed
ruff fix
1 parent 3ec42a1 commit 9f80d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openquake/calculators/event_based_damage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def event_based_damage(df, oq, dstore, monitor):
161161
dmg_csq = crmodel.get_dmg_csq()
162162
csqidx = {dc: i + 1 for i, dc in enumerate(dmg_csq)}
163163
dmgcsq = zero_dmgcsq(len(assetcol), oq.R, crmodel)
164-
_A, R, Dc = dmgcsq.shape
164+
_A, _R, Dc = dmgcsq.shape
165165
D = Dc - len(crmodel.get_consequences())
166166
rlzs = dstore['events']['rlz_id']
167167
with mon_risk:

0 commit comments

Comments
 (0)