Skip to content

Commit 8030819

Browse files
authored
Merge pull request #231 from jbampton/fix-spelling
misc: fix spelling
2 parents d2f666a + c90d1ed commit 8030819

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

arc.arc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,7 @@ protocol requires them."
17471747
s))
17481748

17491749
(mac on (var s . body)
1750-
"Like [[each]], but also maintains a variable calles 'index' counting the iterations."
1750+
"Like [[each]], but also maintains a variable called 'index' counting the iterations."
17511751
(if (is var 'index)
17521752
(err "Can't use index as first arg to on.")
17531753
(w/uniq gs

lib/app.arc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ Returns nil if no logged-in user."
438438

439439
; (= fail* (uniq))
440440

441-
(def fail* ()) ; coudn't possibly come back from a form
441+
(def fail* ()) ; couldn't possibly come back from a form
442442

443443
; Takes a list of fields of the form (type label value view modify) and
444444
; a fn f and generates a form such that when submitted (f label newval)

lib/math.arc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
(rec key-val-lis))))
7878

7979
(def matrix-minor (mat indices (o table? t))
80-
"creates the minor the the element of mat with the indices specified, i.e. if the indices are (i j k ...) then it is the matrix which excludes elements in the ith row or jth column or kth depth etc"
80+
"creates the minor element of mat with the indices specified, i.e. if the indices are (i j k ...) then it is the matrix which excludes elements in the ith row or jth column or kth depth etc"
8181
(if (acons mat) (zap mat-to-table mat))
8282
(= indices (firstn (len mat!dims) indices))
8383
(let ans (mat-to-table:init-matrix (map [- _ 1] mat!dims) 0)
@@ -133,9 +133,9 @@ mat_10*x_0 + mat_11*x_1 ... mat_1n*x_n = rhs_1
133133
...
134134
mat_n0*x_0 + mat_n1*x_1 ... mat_nn*x_n = rhs_n
135135

136-
using gaussian elimination and returns a list of x's (N.B. not efficient for large sparce matrices)"
136+
using gaussian elimination and returns a list of x's (N.B. not efficient for large sparse matrices)"
137137
(zap flat rhs)
138-
(if (acons mat) (zap mat-to-table mat)) ;assumes if using list-of-lists representation of matrices you arent worried about efficiency and so wont mind inline conversion
138+
(if (acons mat) (zap mat-to-table mat)) ;assumes if using list-of-lists representation of matrices you aren't worried about efficiency and so won't mind inline conversion
139139
(withs (MAX 0
140140
tmp 0
141141
X (if (is (car mat!dims) (cadr mat!dims) len.rhs) (zeros (car mat!dims))

0 commit comments

Comments
 (0)