1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-30 11:40:27 +02:00

more zh-CN and a fix for a really bad markdown conversion bug it highlighted

This commit is contained in:
Pomax
2017-02-22 22:20:20 -08:00
parent 99fec540a4
commit c6704a62b5
10 changed files with 91 additions and 73 deletions

View File

@@ -127,7 +127,7 @@ binomial(n,k):
s = lut.length
nextRow = new array(size=s+1)
nextRow[0] = 1
for(i=1, prev=s-1; i&ltprev; i++):
for(i=1, prev=s-1; i<prev; i++):
nextRow[i] = lut[prev][i-1] + lut[prev][i]
nextRow[s] = 1
lut.add(nextRow)