Skip to content

Commit

Permalink
fix from joe for unibuffer case
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush committed Jan 13, 2021
1 parent bee88b7 commit 2559e1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libs/blueprint/conduit_blueprint_mesh_matset_xforms.cpp
Expand Up @@ -185,7 +185,7 @@ to_silo(const conduit::Node &n,
Node mat_vfs;
if(mset_is_unibuffer)
{
mat_vfs["values"].set_external(n["volume_fractions"]);
mat_vfs.set_external(n);
}
else
{
Expand All @@ -200,7 +200,6 @@ to_silo(const conduit::Node &n,
}
}

// TODO, IS THIS CORRECT?
blueprint::o2mrelation::O2MIterator mat_iter(mat_vfs);
matset_num_elems = mat_iter.elements(O2MIndex::ONE);
}
Expand Down

0 comments on commit 2559e1d

Please sign in to comment.