Skip to content

Commit 92d5f1f

Browse files
committed
Error in example
1 parent 2c0d963 commit 92d5f1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ p.map(dbl).map(dbl).map(dbl).then(function (data) {
140140
});
141141

142142
// Approximate e^10
143-
p.map(function (n) { return Math.pow(10, n); }).reduce(add).then(log);
143+
p.map(function (n) { return Math.pow(10, n) / factorial(n); }).reduce(add).then(log);
144144
```
145145

146146
*******
@@ -164,4 +164,4 @@ p.require('blargh.js');
164164
p.map(function (d) {
165165
return blargh(20 * cubeRoot(d));
166166
});
167-
```
167+
```

0 commit comments

Comments
 (0)