Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
df802986
Commit
df802986
authored
Nov 03, 2008
by
Jay Belanger
Browse files
(calcFunc-collect): Return constant polynomial when appropriate.
parent
a336ee5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/calc/calc-alg.el
lisp/calc/calc-alg.el
+1
-1
No files found.
lisp/ChangeLog
View file @
df802986
2008-11-03 Vincent Belaïche <vincent.b.1@hotmail.fr>
* calc/calc-alg.el (calcFunc-collect): Return constant polynomial
when appropriate.
2008-11-02 Martin Rudalics <rudalics@gmx.at>
* window.el (save-selected-window-norecord): New macro
...
...
lisp/calc/calc-alg.el
View file @
df802986
...
...
@@ -1600,7 +1600,7 @@
(
if
(
cdr
p
)
(
math-normalize
; fix selection bug
(
math-build-polynomial-expr
p
base
))
expr
)))
(
car
p
)
)))
;;; If expr is of the form "a + bx + cx^2 + ...", return the list (a b c ...),
;;; else return nil if not in polynomial form. If "loose" (math-is-poly-loose),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment