Skip to content

Commit 0e0b8e5

Browse files
committed
Revert change that was added by kvaragan due to a bug that was fixed. See comment thread for PR 150.
1 parent ff070cf commit 0e0b8e5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/library/io/mm-reader.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,6 @@ clsparseSCsrMatrixfromFile(clsparseCsrMatrix* csrMatx, const char* filePath, cls
568568
MatrixMarketReader< cl_float > mm_reader;
569569
if( mm_reader.MMReadFormat( filePath ) )
570570
return clsparseInvalidFile;
571-
#if 0
572571
// BUG: We need to check to see if openCL buffers currently exist and deallocate them first!
573572
// FIX: Below code will check whether the buffers were allocated in the first place;
574573
{
@@ -590,7 +589,6 @@ clsparseSCsrMatrixfromFile(clsparseCsrMatrix* csrMatx, const char* filePath, cls
590589
if (validationStatus != clsparseSuccess)
591590
return validationStatus;
592591
}
593-
#endif
594592

595593
// JPA: Shouldn't that just be an assertion check? It seems to me that
596594
// the user have to call clsparseHeaderfromFile before calling this function,

0 commit comments

Comments
 (0)