style(verifier): use maps.Copy for verdict snapshot

This commit is contained in:
pj committed 2026-05-30 16:33:23 +05:30
1 parent 60c4ef7458
commit c69052ae89
1 file changed
+2 -3
+2 -3
View File
@@ -4,6 +4,7 @@ import (
"encoding/json"
"errors"
"fmt"
"maps"
"math/rand/v2"
"sort"
"strings"
@@ -317,9 +318,7 @@ func (v *Verifier) EvaluateProperties() map[string]ltl.Verdict {
v.newlyViolated = onset
next := make(map[string]ltl.Verdict, len(verdicts))
for name, verdict := range verdicts {
next[name] = verdict
}
maps.Copy(next, verdicts)
v.priorVerdicts = next
return verdicts