Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: RecogNode and order(ri) #315

Open
FriedrichRober opened this issue Mar 29, 2022 · 0 comments
Open

Documentation: RecogNode and order(ri) #315

FriedrichRober opened this issue Mar 29, 2022 · 0 comments

Comments

@FriedrichRober
Copy link
Contributor

The argument order RecogNode( r, H, projective ) for backwards compability was removed, but the documentation says that it exists.

gap> RecogNode(rec(), Omega(-1, 4, 5), false);
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `RecogNode' on 3 arguments at /Users/friedrich/.gap/gapdev/lib/methsel2.g:249 called from
<function "HANDLE_METHOD_NOT_FOUND">( <arguments> )
 called from read-eval loop at *stdin*:48
type 'quit;' to quit to outer loop
brk> 

The function order(ri) does not exist, you need to access it via ri!.order. Probably would be nice to have this function in the same way as isone(ri) etc.:

gap> order(RecogNode(Omega(-1, 4, 5)));
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `order' on 1 arguments at /Users/friedrich/.gap/gapdev/lib/methsel2.g:249 called from
<function "HANDLE_METHOD_NOT_FOUND">( <arguments> )
 called from read-eval loop at *stdin*:47
type 'quit;' to quit to outer loop
brk> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant