# HG changeset patch # User Jay Belanger # Date 1196136462 0 # Node ID 9a67bab483db66289b22abd055c9e9e799ea42f3 # Parent 0ea24c4dea5dfcff657e81816ad3f717a9034551 (calc-get-fit-variables): Declare as a function. diff -r 0ea24c4dea5d -r 9a67bab483db lisp/calc/calc-nlfit.el --- a/lisp/calc/calc-nlfit.el Tue Nov 27 04:07:26 2007 +0000 +++ b/lisp/calc/calc-nlfit.el Tue Nov 27 04:07:42 2007 +0000 @@ -62,6 +62,10 @@ (require 'calc-arith) +;; Declare functions which are defined elsewhere. +(declare-function calc-get-fit-variables "calcalg3" (nv nc &optional defv defc with-y homog)) + + (defun math-nlfit-least-squares (xdata ydata &optional sdata sigmas) "Return the parameters A and B for the best least squares fit y=a+bx." (let* ((n (length xdata))