Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ecos/ecos.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def solve(c,G,h,dims,A=None,b=None, **kwargs):
# set the dimensions
# note that we forcibly coerce the shape values to Python ints
# (C longs) in case of shenanigans with the underlying storage
m,n1 = (0,len(c)) if G is None else map(int, G.get_shape())
m,n1 = (0,len(c)) if G is None else map(int, G.shape)
p,n2 = (0,n1) if A is None else map(int, A.shape)

if n1 != n2:
Expand Down