Thanks for your report.

This bug is a regression between 1.3.5 and 1.3.6.
It's introduced in r2586
(https://github.com/fricas/fricas/commit/aacdddd3e2ecbb4e34f5cfa473f19c9333623d86).

If I do following change the bug goes away:

-          ml := reverse(monomials(up))
+         ml := monomials(up)

Don't know why though.

On 3/24/20 4:03 AM, 'Nasser M. Abbasi' via FriCAS - computer algebra
system wrote:
> Could someone please explain why this call to integrate fails first
> time, but works second time?
> 
> Running 1.3.6 on Linux Manjaro under Virtual box
> 
>>fricas
> Checking for foreign routines
> FRICAS="/usr/local/lib/fricas/target/x86_64-linux-gnu"
> spad-lib="/usr/local/lib/fricas/target/x86_64-linux-gnu/lib/libspad.so"
> foreign routines found
>                        FriCAS Computer Algebra System 
>                             Version: FriCAS 1.3.6
>                  Timestamp: Mon 09 Mar 2020 12:35:03 PM CDT
> 
> (1) -> setSimplifyDenomsFlag(true)       
> 
>    (1)  false
>                                                                 Type:
> Boolean
> (2) -> integrate((b*x + a)^(3/2)*(d*x + c)^(5/2)/x^7,x)
>  
>    >> Error detected within library code:
>    "failed" of mode
> Union(SparseUnivariatePolynomial(Expression(Integer)),"failed") cannot
> be coerced to mode SparseUnivariatePolynomial(Expression(Integer))
> 
> (2) -> integrate((b*x + a)^(3/2)*(d*x + c)^(5/2)/x^7,x)
> 
> 
> No error. Gives result ok second time.
> Thanks
> --Nasser
> 
> -- 
> 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
> <mailto:fricas-devel+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/fricas-devel/26d92ddd-56c9-4514-bb30-a05dd0a02ad4%40googlegroups.com
> <https://groups.google.com/d/msgid/fricas-devel/26d92ddd-56c9-4514-bb30-a05dd0a02ad4%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/014fa155-d087-0ef3-fb94-67018e51f580%40gmail.com.

Reply via email to