PR commit for adding support for degree 1 curves

Reverse the `if` to avoid indenting everything below:

    if (!m_nodes[i].is_leaf())
        continue;