Skip to content

Commit

Permalink
fix(calculator.ts): add "useless" fix to inverse method
Browse files Browse the repository at this point in the history
  • Loading branch information
gfmio committed Mar 7, 2019
1 parent 9c9a988 commit 47fdc7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export default class Calculator {
}

public inverse() {
this.current = div(1, this.current);
this.current = div(1, this.current);
this.current = div(1, this.current);
return this;
}
Expand Down

0 comments on commit 47fdc7f

Please sign in to comment.