Skip to content

Commit

Permalink
Fix typos in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Amphiluke committed May 23, 2017
1 parent cacaa97 commit 3cf3ed3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Calculates the value of the potential for the given interatomic distance.

```javascript
let lennardjones = new potprox.LennardJones({epsilon: 0.041, sigma: 4.5});
console.log(lj.at(6.0)); // => -0.02399355483055115
console.log(lennardjones.at(6.0)); // => -0.02399355483055115
let buckingham = new potprox.Buckingham({d0: 0.0360, r0: 5.298, a: 4.332});
console.log(buckingham.at(6.0)); // => -0.028625141782941267
Expand All @@ -171,7 +171,7 @@ Returns an object containing the potential parameters.

```javascript
let lennardjones = new potprox.LennardJones({epsilon: 0.041, sigma: 4.5});
console.log(lj.toJSON()); // => {epsilon: 0.041, sigma: 4.5}
console.log(lennardjones.toJSON()); // => {epsilon: 0.041, sigma: 4.5}
let buckingham = new potprox.Buckingham({d0: 0.0360, r0: 5.298, a: 4.332});
console.log(buckingham.toJSON()); // => {d0: 0.036, r0: 5.298, a: 4.332}
Expand Down

0 comments on commit 3cf3ed3

Please sign in to comment.