Martin Rubey wrote:
>
> Martin Rubey <[EMAIL PROTECTED]> writes:
>
> > Yet another problem:
> >
> > (1) -> solve(log 3/log x + log 27/log x = 2, x)
> >
> > log(27) + log(3)
> > ----------------
> > 2
> > (1) [x= %e ]
> > Type:
> > List(Equation(Expression(Integer)))
> > (2) -> )history )save /home/martin/martin/TeXSource/Uebungen/CA/vorkurs3.fri
> > Edit /home/martin/martin/TeXSource/Uebungen/CA/vorkurs3.fri.input to
> > see the saved input lines.
> > Can't save the value of step number 1 . You can re-generate this
> > value by running the input file
> > #P"/home/martin/martin/TeXSource/Uebungen/CA/vorkurs3.fri.input" .
> > The saved history file is
> > /home/martin/martin/TeXSource/Uebungen/CA/vorkurs3.fri.axh .
> >
> > ???
>
> Fixed this one:
>
> Index: i-syscmd.boot
> ===================================================================
> --- i-syscmd.boot (revision 405)
> +++ i-syscmd.boot (working copy)
> @@ -1828,7 +1828,8 @@
> ['WRITIFIED_!_!, 'SELF]
> -- In CCL constructors are also compiled functions, so we
> -- need this line:
> - constructor? ob => ob
> + constructor? ob => ob
> + ob = function newGoGet => 'newGoGet
> COMPILED_-FUNCTION_-P ob =>
> THROW('writifyTag, 'writifyFailed)
> HASHTABLEP ob =>
>
> Can I commit?
>
This does not look right. If newGoGet is unused nothing bad will
happen. But if we try to SPADCALL it we will have symbol, while
we SPADCALL now needs a function. I am affraid that correct
solution will look like the SPADCLOSURE part: writify should
recognize newGoGet and put a special marker in the output.
On reading we shoul look for the marker and reconstruct newGoGet
from it.
Another posibility is to call replaceGoGetSlot to get real value.
Of course, another question is why we are getting newGoGet here,
I am not sure if writify was supposed to handle newGoGet.
--
Waldek Hebisch
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---