From b7a413284e408280336ee681dd031877d779d0ea Mon Sep 17 00:00:00 2001
From: "James D. Mitchell" <jdm3@st-andrews.ac.uk>
Date: Mon, 29 Jul 2024 11:13:32 +0100
Subject: [PATCH] sims: fix issue 557

---
 include/libsemigroups/sims1.tpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/libsemigroups/sims1.tpp b/include/libsemigroups/sims1.tpp
index bc8bda372..698845222 100644
--- a/include/libsemigroups/sims1.tpp
+++ b/include/libsemigroups/sims1.tpp
@@ -619,7 +619,7 @@ namespace libsemigroups {
   typename Sims1<T>::iterator_base&
   Sims1<T>::iterator_base::operator=(Sims1<T>::iterator_base&& that) {
     _extra           = std::move(that._extra);
-    _longs           = std::move(that.long_rules());
+    _longs           = std::move(that._longs);
     _max_num_classes = std::move(that._max_num_classes);
     _min_target_node = std::move(that._min_target_node);
     _felsch_graph    = std::move(that._felsch_graph);
