Skip to content

Commit

Permalink
Fix U_dqi calcs
Browse files Browse the repository at this point in the history
  • Loading branch information
WesIngwersen committed Sep 20, 2019
1 parent fe2263a commit 6701446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iomb/matio.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, model, DQImatrices=False):
log.warning('D_dqi could not be computed.')
# the data quality matrix of the upstream impacts: U_dqi
try:
self.U_dqi = self.D_dqi.aggregate_mmult(self.D, self.L.values, left=True)
self.U_dqi = self.D_dqi.aggregate_mmult(self.D.values, self.L.values, left=True)
self.dqi_matrices['U_dqi'] = self.U_dqi
except KeyError:
log.warning('U_dqi could not be computed.')
Expand Down

0 comments on commit 6701446

Please sign in to comment.