Skip to content

Commit ef82cd9

Browse files
authored
Merge pull request #153 from piyueh/fix-issue-151
fix #151
2 parents 817b19d + 26d670a commit ef82cd9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

applications/createxdmf/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ PetscErrorCode writeSingleXDMF(const std::string &directory,
150150
ierr = PetscViewerASCIIPrintf(viewer,
151151
"<!DOCTYPE Xdmf SYSTEM \"Xdmf.dtd\" [\n");
152152
CHKERRQ(ierr);
153-
ierr = PetscViewerASCIIPrintf(
154-
viewer, "\t<!ENTITY CaseDir \"%s\">\n", directory.c_str());
153+
ierr = PetscViewerASCIIPrintf(viewer, "\t<!ENTITY CaseDir \"./\">\n");
155154
CHKERRQ(ierr);
156155

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

0 commit comments

Comments
 (0)