Skip to content

Commit c63310f

Browse files
committed
Actually introduce the bug
1 parent f2149e2 commit c63310f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/aggregate.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ function aggregation(::StandardAggregation, S::SparseMatrixCSC{T,R}) where {T,R}
9797
if minimum(x) == -1
9898
mask = x .!= -1
9999
I = collect(R, 1:n)[mask]
100-
#J = x[mask] + R(1)
101-
J = x[mask] + 1
100+
J = x[mask] + R(1)
101+
#J = x[mask] + 1
102102
V = ones(eltype(S), length(J))
103103
AggOp = sparse(J,I,V,N,M)
104104
else
105105
Tp = collect(R, 1:n+1)
106-
#x .= x .+ R(1)
107-
x .= x .+ 1
106+
x .= x .+ R(1)
107+
#x .= x .+ 1
108108
Tx = ones(eltype(S), length(x))
109109
AggOp = SparseMatrixCSC(N, M, Tp, x, Tx)
110110
end

0 commit comments

Comments
 (0)