diff --git a/src/output/xdmf.cpp b/src/output/xdmf.cpp index 7f2baf7d..6ad4e22a 100644 --- a/src/output/xdmf.cpp +++ b/src/output/xdmf.cpp @@ -165,7 +165,7 @@ Xdmf::Xdmf(Input &input, DataBlock *datain) { cellsubsize[3]); */ // Temporary storage on host for 3D arrays - this->vect3D = new float[nx1loc*nx2loc*nx3loc]; + this->vect3D = new DUMP_DATATYPE[nx1loc*nx2loc*nx3loc]; // fill the node_coord array DUMP_DATATYPE x1 = 0.0; diff --git a/test/HD/sod/testme.py b/test/HD/sod/testme.py index e8f0f9ae..2a8b46bc 100755 --- a/test/HD/sod/testme.py +++ b/test/HD/sod/testme.py @@ -25,7 +25,7 @@ def testMe(test): if test.init: test.makeReference(filename=name) test.standardTest() - test.nonRegressionTest(filename=name) + test.nonRegressionTest(filename=name, tolerance=1.0e-05) test=tst.idfxTest()