X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgenesorter.cpp;h=40e62e5b8bab62ae58e55fdc85f0c2f7a486380e;hb=3fff88637ec7e806f19e613051f31ca5178d2cf5;hp=1e199843a1a5ecedcbf692fc6da5117dafa4ce8e;hpb=3401199b1ce268dd6465f09abf6264592b989140;p=germs.git diff --git a/src/genesorter.cpp b/src/genesorter.cpp index 1e19984..40e62e5 100644 --- a/src/genesorter.cpp +++ b/src/genesorter.cpp @@ -36,6 +36,6 @@ GeneSorter::ActionList GeneSorter::safeActions(const GeneOrder& go){ if (countCycles(go) == go.size() - 1) return ActionList(); ActionList al; - al.push_back(ActionPointer(new ReverseAction(2,3))); + al.push_back(SortAction(new ReverseAction(2,3))); return al; }