Skip to content

Commit fe0e612

Browse files
committed
Minor extension of AbaqusImport to allow space after last comma on a line.
1 parent 8aba2d8 commit fe0e612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Abaqus/AbaqusImport.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ bool AbaqusImport::read_elements(char* szline, FILE* fp)
745745

746746
// if we've reached at the end of the line
747747
// then we load the next line
748-
if (strlen(ch) == 1)
748+
if (strlen(ch) == 1 || strcmp(ch,", ") == 0)
749749
{
750750
read_line(szline, fp);
751751
ch = szline;

0 commit comments

Comments
 (0)