Commit 2465f46
committed
Use same context when creating a new context::Fraction::Parser::Number
When creating a context::Fraction::Parser::Number, use the same
context as the original object instead of the current context.
This fixes issue #1337 with checking if an object created in the
fraction context is equal to a number after the context has changed.
This fix is by @dpvc.1 parent 9dbb09a commit 2465f46
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
784 | | - | |
| 784 | + | |
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
| |||
0 commit comments