Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Followed up syntax changes in sub.

  • Loading branch information...
commit e634c4c72c2d02950b1bafe6f5178107ea3df2ae 1 parent 7c6aeb8
@tpapp authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/regressions.lisp
4 tests/regressions.lisp
@@ -25,10 +25,10 @@
;; single step
(p2 (linear-regression y x))
;; two steps, first half
- (h1 (si 0 n))
+ (h1 (cons 0 n))
(p1 (linear-regression (sub y h1) (sub x h1 t)))
;; second half, using first half as prior
- (h2 (si n 0))
+ (h2 (cons n nil))
(p2-1 (linear-regression (sub y h2) (sub x h2 t) :prior p1)))
(ensure-same (mean p2) (mean p2-1))
(ensure-same (variance p2) (variance p2-1))
Please sign in to comment.
Something went wrong with that request. Please try again.