Merge pull request #954 from ForrestWeiswolf/fix-npm-package-example

Fix example in squiggle-lang README
This commit is contained in:
Ozzie Gooen 2022-08-04 12:36:43 -07:00 committed by GitHub
commit a984e6a5f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ environment created from the squiggle code.
```js
import { run } from "@quri/squiggle-lang";
run(
"normal(0, 1) * fromSamples([-3,-2,-1,1,2,3,3,3,4,9]"
"normal(0, 1) * SampleSet.fromList([-3, 2,-1,1,2,3,3,3,4,9])"
).value.value.toSparkline().value;
```