M2 icon indicating copy to clipboard operation
M2 copied to clipboard

A bug about freeAlgebra

Open wp-hhh opened this issue 1 year ago • 2 comments

I am learning Macaulay2 now. When I try to use the method "freeAlgebra(QQ,{x,y,z})" to create a free algebra as shown in the example of the documentation, where the example is in the website, "https://macaulay2.com/doc/Macaulay2/share/doc/Macaulay2/AssociativeAlgebras/html/_free__Algebra.html", I get a mistake as shown in the fig.1. When I try to use it online, I also get the mistake as shown in the fig.2. Do I do something wrong or are there some bugs in the method "freeAlgebra"? fig.1 fig.2

wp-hhh avatar Nov 29 '23 06:11 wp-hhh

You need to run the command

needsPackage “AssociativeAlgebras”

before using any of the noncommutative functionality.

Best, Frank

On Wed, Nov 29, 2023 at 1:00 AM wp-hhh @.***> wrote:

I am learning Macaulay2 now. When I try to use the method "freeAlgebra(QQ,{x,y,z})" to create a free algebra as shown in the example of the documentation, where the example is in the website, " https://macaulay2.com/doc/Macaulay2/share/doc/Macaulay2/AssociativeAlgebras/html/_free__Algebra.html", I get a mistake as shown in the fig.1. When I try to use it online, I also get the mistake as shown in the fig.2. Do I do something wrong or are there some bugs in the method "freeAlgebra"? 1701237226735.jpg (view on web) https://github.com/Macaulay2/M2/assets/102017612/e8688ad5-1fa4-477c-9e27-4899e2db51ac 1701237341730.jpg (view on web) https://github.com/Macaulay2/M2/assets/102017612/df98a593-1848-40dc-95f5-765abb39472b

— Reply to this email directly, view it on GitHub https://github.com/Macaulay2/M2/issues/3019, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMP3ZYUHFMCLRLUJBBA4NDYG3FRFAVCNFSM6AAAAAA764QG5KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTKOBXGYZTANY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

moorewf avatar Nov 29 '23 11:11 moorewf

OK, I solved it by your advice.

Thanks.

wp-hhh avatar Nov 29 '23 11:11 wp-hhh