diff options
Diffstat (limited to '020run.cc')
-rw-r--r-- | 020run.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/020run.cc b/020run.cc index 3b9cd4d3..cdf265e9 100644 --- a/020run.cc +++ b/020run.cc @@ -262,7 +262,7 @@ vector<double> read_memory(reagent x) { return result; } -void write_memory(reagent x, vector<double> data) { +void write_memory(reagent x, const vector<double>& data) { if (!x.type) { raise << "can't write to " << to_string(x) << "; no type\n" << end(); return; |