[Patch] Fix for Geomview



In both cases bug_report() says that the Lisp compiler is SBCL
1.0.41.47.  The problem appears to stem from the fact that
*read-default-float-format* is set to 'double-float in the version
built with make whereas its value is 'single-float in the other built.

Best regards,

On Tue, Aug 24, 2010 at 1:10 PM, Jaime Villate <villate at fe.up.pt> wrote:
> On Tue, 2010-08-24 at 11:55 +0200, Juan M. Bello Rivas wrote:
>
>> I just rebuilt the latest CVS Maxima using ./configure && make and it
>> indeed works with Geomview as advertised. ?However, the same source
>> tree built following the instructions given in INSTALL.lisp leads me
>> to the following error:
>>
>> (%i1) plot3d(x^2 + y^2 - 1, [x, -1, 1], [y, -1, 1]);
>> Reading MESH from "/tmp/maxout.geomview": bad element (12,0) of (31,31):
>> > -0.3333333333333335 ? ? -1. ? ? 0.11111111111111116
>> > -0.26666666666666683 ? ? -1. ? ? 7.11111111111112400d ...
>> ------------------------------------------------------^
>> Couldn't read LIST in "/tmp/maxout.geomview": error reading embedded object:
>> > ... LIST
>> > { appearance { +smooth }
>> > MESH ...
>> ------^
> It seems to me that in your two different builts of Maxima you are using
> different versions of Lisp. One of the two versions is printing a "d"
> after the number, which leads to the error in Geomview. Could you please
> check what Lisp version you are using in each case? (the function
> bug_report() will tell you what you need to know).
> Regards,
> Jaime
>
>
>



-- 
Juan M. Bello Rivas