Hello Sid,

Have you tried to completely build the FriCAS Git version, Waldek have
committed different things I think. Personally, the copy of FriCAS I'm
working on has the totality of FriCAS algebra source code and I do not
encounter this issue. May be your FriCAS version is missing algebra
modifications.

Regards,
__
Greg

Le mar. 30 mai 2023, 16:31, Sid Andal <andal...@gmail.com> a écrit :

> Compilation of the updated naalg.spad leads to the following errors:
>
>
> (1) -> )compile naalg.spad
> .
> .
> .
> .
> ****** Domain: R already in scope
> augmenting R: (IntegralDomain)
>    processing macro definition LSMP ==> LinearSystemMatrixPackage2 R
>    compiling exported coordinates : ($,Vector $) -> Vector R
>    Semantic Errors:
>       [1] reductum:  first is BOTH a variable and a literal
>       [2] coordinates:  LinearSystemMatrixPackage2 is not a known type
>
>    Warnings:
>       [1] monomial?:  x has no value
>       [2] construct:  k has no value
>       [3] construct:  c has no value
>
> ****** comp fails at level 3 with expression: ******
> error in function coordinates
>
> (SEQ
>  (|:=| (|:| |m| (|NonNegativeInteger|))
>   (|::| (|maxIndex| |b|) (|NonNegativeInteger|)))
>  (|:=| (|:| |transitionMatrix| (|Matrix| R))
>   ((|Sel| (|Matrix| R) |new|) |n| |m| (|Sel| R 0)))
>  (REPEAT (IN |i| (SEGMENT 1 |m|))
>          (|setColumn!| |transitionMatrix| |i| (|coordinates| (|b| |i|))))
>  (|:=| |res| | << |
>   ((|Sel| (|LinearSystemMatrixPackage2| R) |solveUniquely|)
> |transitionMatrix|
>    (|coordinates| |x|))
>   | >> |)
>  (|exit| 1
>   (IF (|case| |res| "failed")
>       (|error| "coordinates: solveUniquely failed")
>       (@ |res| (|Vector| R)))))
> ****** level 3  ******
> $x:= ((Sel (LinearSystemMatrixPackage2 R) solveUniquely) transitionMatrix
> (coordinates x))
> $m:= $EmptyMode
> $f:=
> ((((|i| # #) (|transitionMatrix| # #) (|m| # #) ($$ #) ...)))
>
>    >> Apparent user error:
>    NoValueMode
>     is an unknown mode
>
> (1) ->
>
> On Friday, May 19, 2023 at 7:52:20 PM UTC-5 Waldek Hebisch wrote:
>
>> On Fri, May 19, 2023 at 02:39:21PM -0700, Sid Andal wrote:
>> > Compile the entire FriCAS or just the updated/modified spad files?
>>
>> Entire FriCAS. In principle you could recompile only files affected
>> by the change, but several unmodified files are affected so it
>> is simpler to recompile entire FriCAS.
>>
>> --
>> Waldek Hebisch
>>
> --
> 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 fricas-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/fricas-devel/7ba54f02-a1a3-4fe7-a8a9-6ea403a2775cn%40googlegroups.com
> <https://groups.google.com/d/msgid/fricas-devel/7ba54f02-a1a3-4fe7-a8a9-6ea403a2775cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAHnU2daTU7XzGLApa9NExhdSmKp8%2BV_zQ%3D%2BmhSk69zbYeYpZXw%40mail.gmail.com.

Reply via email to