Skip to content

Commit 2608012

Browse files
authoredApr 13, 2018
Merge pull request #2 from DylanMcKinney/patch-1
Update Read to ensure STAR STAR matrices are broadcast after read
2 parents 42bc77e + 884f613 commit 2608012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/io/Read.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void Read
5454
if( format == AUTO )
5555
format = DetectFormat( filename );
5656

57-
if( A.ColStride() == 1 && A.RowStride() == 1 )
57+
if(( A.ColStride() == 1 && A.RowStride() == 1 ) && !(A.ColDist() == STAR || A.RowDist() == STAR))
5858
{
5959
if( A.CrossRank() == A.Root() && A.RedundantRank() == 0 )
6060
{

0 commit comments

Comments
 (0)
Please sign in to comment.