Skip to content

Commit 2de8777

Browse files
committed
Update C++ tests
1 parent 6f5ffb7 commit 2de8777

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/unit/mapping/StrucMapper_test.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,10 @@ TEST_F(StrucMapperTest, MapDeformedStrucImposeLatticeNode0) {
313313
xtal::Lattice unmapped_child_prim_lattice{child.lat_column_mat};
314314
xtal::Lattice unmapped_child_superlattice{child.lat_column_mat};
315315
Index child_N_atom = 0; // no longer used
316-
mapping_impl::LatticeNode lattice_node(
316+
mapping_impl::LatticeNode lattice_node = mapping_impl::make_lattice_node(
317317
parent_prim_lattice, parent_superlattice, unmapped_child_prim_lattice,
318-
unmapped_child_superlattice, child_N_atom);
318+
unmapped_child_superlattice);
319+
319320
std::set<mapping_impl::MappingNode> mappings =
320321
mapper.map_deformed_struc_impose_lattice_node(
321322
child, lattice_node, k_best, max_cost, min_cost, keep_invalid);

0 commit comments

Comments
 (0)