From fd713ba3af9b218eb14ac951c088cab82762f72a Mon Sep 17 00:00:00 2001 From: JamesEMcclure Date: Thu, 2 May 2019 15:25:43 -0400 Subject: [PATCH] fix voxel length --- common/Domain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Domain.cpp b/common/Domain.cpp index 24c0c396..75f2082b 100644 --- a/common/Domain.cpp +++ b/common/Domain.cpp @@ -133,7 +133,7 @@ void Domain::initialize( std::shared_ptr db ) } voxel_length = 1.0; if (d_db->keyExists( "voxel_length" )){ - auto voxel_length = d_db->getScalar("voxel_length"); + voxel_length = d_db->getScalar("voxel_length"); } ASSERT( n.size() == 3u );