diff --git a/src/Calculator.ts b/src/Calculator.ts index 0044d72..04d7a64 100644 --- a/src/Calculator.ts +++ b/src/Calculator.ts @@ -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; }