Skip to content

Commit

Permalink
Fix Mat_VarDelete
Browse files Browse the repository at this point in the history
Add new error msg if renamed MAT-file could not be opened
  • Loading branch information
tbeu committed Dec 28, 2015
1 parent 324bb8c commit 11043d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions C-Sources/ModelicaMatIO.c
Original file line number Diff line number Diff line change
Expand Up @@ -9824,6 +9824,9 @@ Mat_VarDelete(mat_t *mat, const char *name)
memcpy(mat,tmp,sizeof(mat_t));
free(tmp);
}
else {
Mat_Critical("Cannot open file \"%s\".",mat->filename);
}
}
free(new_name);
}
Expand Down

0 comments on commit 11043d2

Please sign in to comment.