From 680e7498a128c752e6eb43156ee990807c042769 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 14 Aug 2019 14:57:03 +0200 Subject: generate-dfa-benchmark: Ensure that individual parameter hashes are distinct --- bin/generate-dfa-benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/generate-dfa-benchmark.py b/bin/generate-dfa-benchmark.py index 22b2b14..f728602 100755 --- a/bin/generate-dfa-benchmark.py +++ b/bin/generate-dfa-benchmark.py @@ -81,7 +81,7 @@ def benchmark_from_runs(pta: PTA, runs: list, harness: OnboardTimerHarness, benc for transition, arguments, parameter in run: num_transitions += 1 harness.append_transition(transition.name, param, arguments) - harness.append_state(transition.destination.name, parameter) + harness.append_state(transition.destination.name, parameter.copy()) outbuf.write('// {} -> {}\n'.format(transition.origin.name, transition.destination.name)) if transition.is_interrupt: outbuf.write('// wait for {} interrupt\n'.format(transition.name)) -- cgit v1.2.3