summaryrefslogtreecommitdiff
path: root/mesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesh.cpp')
-rw-r--r--mesh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh.cpp b/mesh.cpp
index d4dce40..406dfba 100644
--- a/mesh.cpp
+++ b/mesh.cpp
@@ -166,10 +166,10 @@ void Mesh::handle_surface_node_data(H5::H5File fp)
for (int i = 0; i < rank; i ++)
std::cout << "[~~~>] Dimension in " << i << " of nodes: " << dims_n[i] << std::endl;
#endif
-
+
double *data_n = new double[dims_n[0]*dims_n[1]];
dataset_n.read(data_n, H5::PredType::IEEE_F64LE);
-
+
nodes.resize(dims_n[0]);
for (size_t i = 0; i < dims_n[0]; i ++) {