-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
bugSomething is brokenSomething is brokendocumentationImprove or add to documentationImprove or add to documentation
Description
The Operations docs
have examples like
A = gb.Matrix.from_coo([0, 0, 1, 1, 2], [1, 2, 0, 2, 1],
[2.0, 5.0, 1.5, 4.0, 0.5])
B = gb.Matrix.from_coo([0, 0, 1, 1, 2, 2], [1, 2, 0, 1, 1, 2],
[3., -2., 0., 6., 3., 1.])
# These are equivalent
C << A.ewise_mult(B, op='min') # method style
C << gb.binary.min(A & B) # functional style
but when I try and do either of these I get 'C' is not defined
which is what I expected from prior documentation. Would recommend making these doctests so that the docs don't include erroneous examples
part of: pyOpenSci/software-submission#81
Metadata
Metadata
Assignees
Labels
bugSomething is brokenSomething is brokendocumentationImprove or add to documentationImprove or add to documentation