Skip to content

Commit

Permalink
Merge pull request #2 from DylanMcKinney/patch-1
Browse files Browse the repository at this point in the history
Update Read to ensure STAR STAR matrices are broadcast after read
  • Loading branch information
benson31 authored Apr 13, 2018
2 parents 42bc77e + 884f613 commit 2608012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/Read.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void Read
if( format == AUTO )
format = DetectFormat( filename );

if( A.ColStride() == 1 && A.RowStride() == 1 )
if(( A.ColStride() == 1 && A.RowStride() == 1 ) && !(A.ColDist() == STAR || A.RowDist() == STAR))
{
if( A.CrossRank() == A.Root() && A.RedundantRank() == 0 )
{
Expand Down

0 comments on commit 2608012

Please sign in to comment.