When generating prime fields for primes less than 256 bit (128-bit or 192-bit) a template error (out of range index for slice) is returned at line 61:16 .
$ > goff -m 6277101735386680763835789423207666416102355444464034512659 -o ./fp192/ -p fp192 -e Element
running goff version v0.2.2
generating fp192/element.go
template: :61:16: executing "" at <index $.One $i>: error calling index: reflect: slice index out of range
goff -m 340282366920938463463374557953744961537 -o ./fp128/ -p fp192 -e Element
running goff version v0.2.2
generating fp128/element.go
template: :61:16: executing "" at <index $.One $i>: error calling index: reflect: slice index out of range
When generating prime fields for primes less than 256 bit (128-bit or 192-bit) a template error (out of range index for slice) is returned at line 61:16 .