Skip to content

Commit 81eb4c0

Browse files
committed
Add another note
1 parent 7ba9ee2 commit 81eb4c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Sources/D2Commands/math/QuadraticEquation+Parsing.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ fileprivate let log = Logger(label: "D2Commands.QuadraticEquation+Parsing")
66

77
fileprivate let tokenPattern = #/(?<operator>[+\-=])|(?<rational>[\d/\.]+)|(?<power>x(?:\^(?<exponent>\d+))?)/#
88

9-
// TODO: Factor out general polynomial parser
9+
// TODO: Factor out general polynomial (equation) parser
1010

1111
private typealias Token = (Substring, operator: Substring?, rational: Substring?, power: Substring?, exponent: Substring?)
1212
private typealias Monomial = (coefficient: Rational, exponent: Int)

0 commit comments

Comments
 (0)