diff options
author | Mark Green <mark@antelope.nildram.co.uk> | 2016-01-22 00:54:49 +0000 |
---|---|---|
committer | Mark Green <mark@antelope.nildram.co.uk> | 2016-01-22 00:54:49 +0000 |
commit | 57053bc95d4166a42da8f6d1732dd21a217b073a (patch) | |
tree | 293a7775d4b46313a2ee955691141095653d4044 /d.html.markdown | |
parent | def04721be506f1c7ff5ddf407f2333999570a89 (diff) | |
parent | 9a5bb286686f5dd4fb743c1bd15ad70a3c6a4a3f (diff) |
Merge remote-tracking branch 'refs/remotes/adambard/master'
Diffstat (limited to 'd.html.markdown')
-rw-r--r-- | d.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/d.html.markdown b/d.html.markdown index 6f88cf84..edb3bff5 100644 --- a/d.html.markdown +++ b/d.html.markdown @@ -254,7 +254,7 @@ void main() { // Use an index, access every array element by reference (because we're // going to change each element) and just call parallel on the array! foreach(i, ref elem; parallel(arr)) { - ref = sqrt(i + 1.0); + elem = sqrt(i + 1.0); } } ``` |