From d85c67d94ba4120d261b6e3e1e628e0b2f8a2f4e Mon Sep 17 00:00:00 2001 From: Alankar Dutta Date: Mon, 9 Sep 2024 14:25:45 -0600 Subject: [PATCH] [FIX] xdmf datatype agnostic dump --- src/output/xdmf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;