Skip to content

Commit 30306c6

Browse files
committed
fixed an important typo
1 parent 7ecac73 commit 30306c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/adapt.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ function Adapt.adapt_structure(to,v::SplitMatrix)
4141
blocks = Adapt.adapt_structure(to,v.blocks)
4242
col_per = v.col_permutation
4343
row_per = v.row_permutation
44-
split_matrix(blocks,row_par,col_per)
44+
split_matrix(blocks,row_per,col_per)
4545
end
4646

4747
function Adapt.adapt_structure(to,v::PSparseMatrix)
4848
matrix_partition = Adapt.adapt_structure(to,v.matrix_partition)
49-
col_par = v.col_permutation
50-
row_par = v.row_permutation
49+
col_par = v.col_partition
50+
row_par = v.row_partition
5151
PSparseMatrix(matrix_partition,row_par,col_par,v.assembled)
5252
end

0 commit comments

Comments
 (0)