diff options
| author | Jay Belanger | 2007-11-27 04:07:42 +0000 |
|---|---|---|
| committer | Jay Belanger | 2007-11-27 04:07:42 +0000 |
| commit | b09c4bb49720d1976de5b1fff6f81db26e8f3af5 (patch) | |
| tree | 982c7564e460b4e00fc4b2203689772cdc8ea82a | |
| parent | 36b5be6bd4ee9e33816c747167224d14d81596e0 (diff) | |
| download | emacs-b09c4bb49720d1976de5b1fff6f81db26e8f3af5.tar.gz emacs-b09c4bb49720d1976de5b1fff6f81db26e8f3af5.zip | |
(calc-get-fit-variables): Declare as a function.
| -rw-r--r-- | lisp/calc/calc-nlfit.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/calc/calc-nlfit.el b/lisp/calc/calc-nlfit.el index 489599781f6..3a1502fada2 100644 --- a/lisp/calc/calc-nlfit.el +++ b/lisp/calc/calc-nlfit.el | |||
| @@ -62,6 +62,10 @@ | |||
| 62 | 62 | ||
| 63 | (require 'calc-arith) | 63 | (require 'calc-arith) |
| 64 | 64 | ||
| 65 | ;; Declare functions which are defined elsewhere. | ||
| 66 | (declare-function calc-get-fit-variables "calcalg3" (nv nc &optional defv defc with-y homog)) | ||
| 67 | |||
| 68 | |||
| 65 | (defun math-nlfit-least-squares (xdata ydata &optional sdata sigmas) | 69 | (defun math-nlfit-least-squares (xdata ydata &optional sdata sigmas) |
| 66 | "Return the parameters A and B for the best least squares fit y=a+bx." | 70 | "Return the parameters A and B for the best least squares fit y=a+bx." |
| 67 | (let* ((n (length xdata)) | 71 | (let* ((n (length xdata)) |