Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

desolve_system is broken for a system of one equation #9823

Closed
rhinton mannequin opened this issue Aug 27, 2010 · 11 comments
Closed

desolve_system is broken for a system of one equation #9823

rhinton mannequin opened this issue Aug 27, 2010 · 11 comments

Comments

@rhinton
Copy link
Mannequin

rhinton mannequin commented Aug 27, 2010

desolve_system fails for a system with only one equation:

sage: t = var('t')
sage: x = function('x', t)
sage: de1 = diff(x,t) + 1 == 0
sage: desolve_system([de1], [x]) 

CC: @robert-marik

Component: calculus

Keywords: maxima, symbolics

Author: Robert Mařík

Reviewer: David Joyner, Ryan Hinton

Merged: sage-4.6.alpha2

Issue created by migration from https://trac.sagemath.org/ticket/9823

@rhinton rhinton mannequin added this to the sage-4.6 milestone Aug 27, 2010
@rhinton rhinton mannequin added c: calculus labels Aug 27, 2010
@rhinton rhinton mannequin assigned burcin Aug 27, 2010
@robert-marik
Copy link
Mannequin

robert-marik mannequin commented Aug 29, 2010

comment:1

The patch solves the problem by passing to desolve_laplace. Both desoove_laplace and desolve_system use function desolve from Maxima and perhaps bouth could be merged into one function. Perhaps when solving #9824 ?

Also removes unnecessary spawned Maxima processes.

Install after the patch for #9835.

@robert-marik robert-marik mannequin added the s: needs review label Aug 29, 2010
@robert-marik
Copy link
Mannequin

robert-marik mannequin commented Aug 30, 2010

Depends on Ticket #9835

@robert-marik
Copy link
Mannequin

robert-marik mannequin commented Aug 30, 2010

comment:2

Attachment: trac_9823.patch.gz

Updated the patch - removed plotting picture from testing, since Sage complains

verbose 0 (3495: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 200 points.

on one of my computers (Debian, AMD 64 bit).

@wdjoyner
Copy link

comment:3

Does this really depend on 9835? It seemed to apply and test fine for me without it.

@robert-marik
Copy link
Mannequin

robert-marik mannequin commented Aug 30, 2010

comment:4

You are right, thanks. Both patches touch different part of the same file and I expected numbers from the patch utility. But both patches are independent and #9835 can be installed on the top of this patch. Thanks for mentioning this.

@wdjoyner
Copy link

comment:5

I have tested this without 9835 and it passes fine. Also, the patch is very simple and does as it says and also adds a doctest illustrating the new fix.

Positive review from me, without 9835. I am currently also testing it with 9835.

@wdjoyner
Copy link

comment:6

All tests passes even with 9835.

Positive review from me but maybe rhinton should look at it?

@rhinton
Copy link
Mannequin Author

rhinton mannequin commented Aug 31, 2010

comment:7

Looks great to me!

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Sep 22, 2010

Reviewer: David Joyner, Ryan Hinton

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Sep 22, 2010

Author: Robert Mařík

@qed777
Copy link
Mannequin

qed777 mannequin commented Sep 29, 2010

Merged: sage-4.6.alpha2

@qed777 qed777 mannequin removed the s: positive review label Sep 29, 2010
@qed777 qed777 mannequin closed this as completed Sep 29, 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants