diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-07-08 15:25:11 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-07-08 15:25:11 -0700 |
commit | 76d22198114495e17827a7d00450b837e54fb17f (patch) | |
tree | fe25697db656b57ebe35972f903e0a2dbdebbd98 /021arithmetic.cc | |
parent | 90938fcb3117844f8d79ff9a277a4c51239dd9e0 (diff) | |
download | mu-76d22198114495e17827a7d00450b837e54fb17f.tar.gz |
1726
Diffstat (limited to '021arithmetic.cc')
-rw-r--r-- | 021arithmetic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/021arithmetic.cc b/021arithmetic.cc index 7d68f266..01202f33 100644 --- a/021arithmetic.cc +++ b/021arithmetic.cc @@ -187,9 +187,9 @@ recipe main [ +mem: storing 2.5 in location 1 :(code) -inline bool scalar(vector<long long int>& x) { +inline bool scalar(const vector<long long int>& x) { return SIZE(x) == 1; } -inline bool scalar(vector<double>& x) { +inline bool scalar(const vector<double>& x) { return SIZE(x) == 1; } |