bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16629: emacs 24.3 --- calc curve fitting --- expression too complex


From: Bart Nielsen
Subject: bug#16629: emacs 24.3 --- calc curve fitting --- expression too complex
Date: Sun, 2 Feb 2014 22:07:48 -0500

This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgment at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':



I'm trying to compute a linear best fit equation.  I don't understand
why the _expression_ is too complex:

to create the matrix:

[ [ 1, 2]
  [ 1, 2] ]

and then to ask for the linear best fit line:

a F 1


1:  fit(a + b x, x, [a, b], [ [ 1, 2 ]  )


which is reported as 'curve is too complex'.

Where do I start looking?

thanks,



(emacs is not crashing, calc is just getting confused.)



If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/share/emacs/24.3/etc/DEBUG.


In GNU Emacs 24.3.1 (i686-redhat-linux-gnu, GTK+ Version 3.8.2)
 of 2013-08-14 on buildvm-06.phx2.fedoraproject.org
Windowing system distributor `Fedora Project', version 11.0.11404000
System Description: Fedora release 19 (Schrödinger’s Cat)

Configured using:
 `configure '--build=i686-redhat-linux-gnu'
 '--host=i686-redhat-linux-gnu' '--program-prefix='
 '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr'
 '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
 '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
 '--libexecdir=/usr/libexec' '--localstatedir=/var'
 '--sharedstatedir=/var/lib' '--mandir=/usr/share/man'
 '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg'
 '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm'
 '--with-x-toolkit=gtk3' '--with-gpm=no'
 'build_alias=i686-redhat-linux-gnu' 'host_alias=i686-redhat-linux-gnu'
 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
 -fexceptions -fstack-protector --param=ssp-buffer-size=4
 -grecord-gcc-switches -m32 -march=i686 -mtune=atom
 -fasynchronous-unwind-tables' 'LDFLAGS=-Wl,-z,relro ''

Important settings:
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Dired by date

Minor modes in effect:
  shell-dirtrack-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<return> <down-mouse-1> <mouse-1> <escape> > <escape> 
> C-n e m a c s <return> <down-mouse-1> <mouse-1> <help-echo> 
<down-mouse-1> <mouse-1> C-a C-k C-x b C-g C-x C-b 
C-x o f C-x C-s C-x d <return> g <up> C-x d <return> 
C-x d C-a C-k ~ / D o w <tab> <return> g p d x y e 
s <return> <down-mouse-1> <mouse-movement> <mouse-1> 
<help-echo> <escape> x c a l c <return> v x 2 <return> 
<return> 2 v p a F 1 <return> C-x o C-x o C-x 1 <escape> 
x r e p o r t SPC e m SPC SPC <return>

Recent messages:
byte-code: End of buffer
Quit
Saving file /usr/local/src/emacs/emacs-24.3/emacs-2014-02-02.log...
Wrote /usr/local/src/emacs/emacs-24.3/emacs-2014-02-02.log
Directory has changed on disk; type g to update Dired [2 times]
Deleting...done
Welcome to the GNU Emacs Calculator!  Press `?' or `h' for help, `q' to quit
Working...
Fit to model: (Press ? for help): 
Model _expression_ is too complex: a + b * x

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail
mail-utils pcmpl-gnu pcmpl-unix calc-math cus-edit wid-edit cus-start
cus-load help-fns tabify man mule-util network-stream starttls url-http
tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-cache
url-auth url url-proxy url-privacy url-expand url-methods url-history
url-cookie url-domsuf url-util url-parse auth-source eieio byte-opt
bytecomp byte-compile cconv gnus-util mm-util mail-prsvr password-cache
url-vars mailcap finder-inf package jka-compr info calc-undo calc-stuff
calc-map calc-rules calc-rewr calc-prog calcalg3 calc-stat calc-graph
calccomp calc-arith calc-alg calc-misc calc-forms calc-vec calc-aent
calc-menu calc-yank calc-ext rect calc calc-loaddefs calc-macs dired-aux
dired help-mode easymenu tmm electric misearch multi-isearch two-column
shell pcomplete comint ansi-color ring time time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]