QEC-pages / QDistRnd

https://qec-pages.github.io/QDistRnd/
GNU General Public License v2.0
15 stars 2 forks source link

Use BindGlobal more #24

Closed fingolfin closed 10 months ago

fingolfin commented 12 months ago

The combo DeclareGlobalFunction plus InstallGlobalFunction exists to deal with cases where functions must be declared before being used. This is not the case here, and then using BindGlobal is simpler and preferable.

LeonidPryadko commented 9 months ago

This replacement also resulted in documentation removal for each function from the manual created using AutoDoc package.
As a temporary solution, adding a commented line # DeclareGlobalFunction("FunctionName"); just before BindGlobal("FunctionName",...) causes documentation to reappear for FunctionName(). @fingolfin , I think this may be a bug in AutoDoc.