Subject: Maxima 5.26.0 tagged in Git & posted to SF
From: Oliver Kullmann
Date: Mon, 19 Dec 2011 10:41:19 +0000
Hi Robert,
we got some problems (using Ecl post-11.1.1).
First the build:
I think that's the usual thing, but just to mention (perhaps
something changed):
Running tests in rtest14:
********************** Problem 144 ***************
Input:
closeto(AS_10_4_17(- 10), 1.e-15)
Result:
3/2 3/2
2 2 10 2 2 10
10 (bessel_j(- -, -------) - bessel_j(-, -------))
3 3 3 3
-------------------------------------------------- + airy_dai(- 10)
3
This differed from the expected result:
true
But then two new errors:
Running tests in rtest8:
********************** Problem 126 ***************
Input:
1 2
(f : diff(----------------, a), g : quad_qags(f b (1 - b) , b, 0, 1) ,
2 1
(a - b) + 1 + 1
find_root(g = 0, a, 0, 1))
Result:
2
2 (1 - b) (a - b) b
find_root(subscript(quad_qags(- --------------------, b, 0, 1, epsrel = 1.e-8,
2 2
((a - b) + 2)
epsabs = 0.0, limit = 200), 1) = 0, a, .3980373668760611, 0.375)
This differed from the expected result:
.3978613590133817
********************** Problem 127 ***************
Input:
1 2
(f : diff(----------------, a), g : quad_qags(f b (1 - b) , b, 0, 1) ,
2 1
(a - b) + 1 + 1
find_root(g = 0, a, 0, 1))
Result:
2
2 (1 - b) (a - b) b
find_root(quad_qags(- --------------------, b, 0, 1) = 0, a,
2 2
((a - b) + 2)
1
.3980373668760611, 0.375)
This differed from the expected result:
.3978613590133817
------------------------------------
Running our own test, the print-function seems to have
a bug now:
In order to print out a string without line-breaks (whatever the length of the
string) we use
/* Print a string without line-breaks: */
print_nlb(s) := block([old_linel : linel],
linel : slength(s) + 1,
print(s),
linel : old_linel)$
Now with 5.25.1. we get:
---
(%i2) print_nlb("XXX");
XXX
Evaluation took 0.0000 seconds (0.0000 elapsed)
(%o2) 100
(%i3) print("XXX");
XXX
Evaluation took 0.0010 seconds (0.0000 elapsed)
(%o3) "XXX"
---
As it should be. However 5.26.0 introduces an extra empty line:
---
(%i2) print_nlb("XXX");
XXX
Evaluation took 0.0010 seconds (0.0000 elapsed)
(%o2) 100
(%i3) print("XXX");
XXX
Evaluation took 0.0000 seconds (0.0000 elapsed)
(%o3) "XXX"
---
That makes print_nlb unusable (by the way, is there a Maxima-function
to print a string on one line?).
Oliver
On Sun, Dec 18, 2011 at 05:18:50PM -0700, Robert Dodier wrote:
> Hi,
>
> I've tagged 5.26.0 (on the branch-5_26 branch) in Git and
> built rpms and tar.gz and uploaded them to the SF file manager.
> http://sourceforge.net/projects/maxima/files
>
> Please give it a try and let us know if it works or doesn't.
>
> For the record, I reverted the Git stuff to set VERSION in
> configure.in -- it led to some problem in rpmbuild about
> a missing directory. Maybe someone can figure out what's
> up with that.
>
> best
>
> Robert Dodier