From be1589030de491e0a08e37e08bcb4b7170b3e7be Mon Sep 17 00:00:00 2001 From: Eric Peterson Date: Tue, 23 Jul 2019 09:43:45 -0400 Subject: [PATCH] repair memory aggregation --- pyquil/pyqvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyquil/pyqvm.py b/pyquil/pyqvm.py index af6eab25a..e9407de74 100644 --- a/pyquil/pyqvm.py +++ b/pyquil/pyqvm.py @@ -233,7 +233,7 @@ def run(self): self.execute(self.program) for name in self.ram.keys(): self._memory_results.setdefault(name, list()) - self._memory_results.append(self.ram[name]) + self._memory_results[name].append(self.ram[name]) # TODO: this will need to be removed in merge conflict with #873 self._bitstrings = self._memory_results['ro']