kfp wrote:
>
> I've recently upgraded to version 1.2.3 and recognized that some of my spad
> files do not compile anymore. The strange error messages let me suppose
> that there might be some problem with 'coercion'. There wasn't a problem up
> to and including V 1.2.2.
<snip>
> Of course, the code is certainly not state of the art, however it worked
> for me for a long time. The output is from the Cygwin version (I tried on
> Ubuntu too, getting the same result).
AFAICS the problem is in the line:
f1:=hconcat(outputForm(rval::R), outputForm(" +- "::Symbol))
'outputForm' is a low level function not intended for general
use. In FriCAS 1.2.3 you can no longer apply 'outputForm' to
argument of type DoubleFloat. Instead use something like:
f1:=hconcat(rval::R::OutputForm, " +- "::Symbol::OutputForm)
Note: 'outputForm(" +- "::Symbol)' works and no change that
breaks it is planned. But I would consider double '::' a
bit better style. Probably 'message(" +- ")' is closer to
your intention.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.