Skip to content

Commit

Permalink
Merge pull request #153 from piyueh/fix-issue-151
Browse files Browse the repository at this point in the history
fix #151
  • Loading branch information
piyueh authored Mar 9, 2020
2 parents 817b19d + 26d670a commit ef82cd9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions applications/createxdmf/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ PetscErrorCode writeSingleXDMF(const std::string &directory,
ierr = PetscViewerASCIIPrintf(viewer,
"<!DOCTYPE Xdmf SYSTEM \"Xdmf.dtd\" [\n");
CHKERRQ(ierr);
ierr = PetscViewerASCIIPrintf(
viewer, "\t<!ENTITY CaseDir \"%s\">\n", directory.c_str());
ierr = PetscViewerASCIIPrintf(viewer, "\t<!ENTITY CaseDir \"./\">\n");
CHKERRQ(ierr);

// always use 3D XDMF format, so both Visit and Paraview works
Expand Down

0 comments on commit ef82cd9

Please sign in to comment.