fix voxel length

This commit is contained in:
JamesEMcclure 2019-05-02 15:25:43 -04:00
parent 3957ea376f
commit fd713ba3af

View File

@ -133,7 +133,7 @@ void Domain::initialize( std::shared_ptr<Database> db )
}
voxel_length = 1.0;
if (d_db->keyExists( "voxel_length" )){
auto voxel_length = d_db->getScalar<double>("voxel_length");
voxel_length = d_db->getScalar<double>("voxel_length");
}
ASSERT( n.size() == 3u );