PR commit for adding support for degree 1 curves

Rename `m_curve` to `curve`, it's a local variable.