about summary refs log tree commit diff stats
path: root/074deep_copy.cc
diff options
context:
space:
mode:
Diffstat (limited to '074deep_copy.cc')
-rw-r--r--074deep_copy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/074deep_copy.cc b/074deep_copy.cc
index 59f71286..34100de5 100644
--- a/074deep_copy.cc
+++ b/074deep_copy.cc
@@ -264,7 +264,7 @@ int deep_copy_address(const reagent& canonized_in, map<int, int>& addresses_copi
   payload.value = tmp.value;  // now modified for output
   vector<double> old_data = read_memory(payload);
   trace(9991, "run") << "deep-copy: really writing to " << payload.value << ' ' << to_string(payload) << " (old value " << to_string(old_data) << " new value " << to_string(data) << ")" << end();
-  write_memory(payload, data, -1);
+  write_memory(payload, data, /*always update refcounts*/false);
   trace(9991, "run") << "deep-copy: output is " << to_string(data) << end();
   return out;
 }