Skip to content

Commit efb2a87

Browse files
fix: corrected the documentation.
1 parent a286790 commit efb2a87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Math-Tests-Polynomials/PMPolynomialTest.class.st

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,10 @@ PMPolynomialTest >> testPolynomialHash [
126126
{ #category : #'testing - algebra' }
127127
PMPolynomialTest >> testPolynomialIntegral [
128128
"Code example 2.3"
129+
129130
"
130131
Given p(x) = x^3 + 2x^2 + 7x - 3
131-
then the integral is I(x) = 1/4 x^3 + 2/3 x^3 + 7/2 x^2 - 3x + C, where C is an arbitary
132+
then the integral is I(x) = 1/4 x^4 + 2/3 x^3 + 7/2 x^2 - 3x + C, where C is an arbitary
132133
constant.
133134
"
134135

0 commit comments

Comments
 (0)