File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -297,13 +297,17 @@ namespace libsemigroups {
297297 REQUIRE (KU.size () == 10'160 );
298298 REQUIRE (KU.number_of_D_classes () == 66 );
299299
300- Konieczny KV = make<Konieczny>(gens);
301- KV.run_until (
302- [&KV]() -> bool { return KV.current_number_of_D_classes () > 20 ; });
303- size_t found_classes = KV.current_number_of_D_classes ();
304-
305300 Konieczny<BMat8> KW;
306- KW = std::move (KV);
301+ size_t found_classes = 0 ;
302+ {
303+ Konieczny KV = make<Konieczny>(gens);
304+ KV.run_until (
305+ [&KV]() -> bool { return KV.current_number_of_D_classes () > 20 ; });
306+ found_classes = KV.current_number_of_D_classes ();
307+
308+ KW = std::move (KV);
309+ }
310+
307311 REQUIRE (KW.current_number_of_D_classes () == found_classes);
308312 KW.run ();
309313 LIBSEMIGROUPS_ASSERT (KW.number_of_D_classes () == 66 );
You can’t perform that action at this time.
0 commit comments