Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jinningwang committed Nov 23, 2024
1 parent 0fde998 commit 6635382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ams/pypower/routines/opf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ def linear_constraints(self):
# nnzA = nnzA + nnz(self.lin["data"].A.(self.lin.order{k}))

if self.lin["N"]:
A = sp.sparse.lil_matrix((self.lin["N"], self.var["N"]))
A = sp.lil_matrix((self.lin["N"], self.var["N"]))
u = inf * np.ones(self.lin["N"])
l = -u
else:
Expand Down

0 comments on commit 6635382

Please sign in to comment.