Skip to content

Commit f85156d

Browse files
committed
Fixed nonconformable matrices in TPI.py
1 parent fe125da commit f85156d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ogcore/TPI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ def run_TPI(p, client=None):
883883
p.e,
884884
p,
885885
)
886-
sales_tax_mat = (p.tau_c[: p.T, :] * p_i).reshape(
886+
sales_tax_mat = (p.tau_c[: p.T, :] * p_i[: p.T, :]).reshape(
887887
p.T, p.I, 1, 1
888888
) * c_mat
889889
C = aggr.get_C(c_mat, p, "TPI")

0 commit comments

Comments
 (0)