Hello Bill,
you are using the OGDF function reverse() with polya as a parameter, where polya seems to have the type NTL::GF2EX.
The first question you should ask yourself is whether you wanted to use a non-OGDF function that is also called reverse().
If yes, make sure to use the correct namespace for reverse(), e.g. NTL::reverse or something similar. It’s also possible you actually wanted polya.reverse().
If no, be aware that ogdf::reverse() does not actually reverse a container. Instead, it is used to iterate over containers in reverse (and for that purpose the container needs to implement reverse_iterator or const_reverse_iterator depending on its const-ness).
The code looks like you want to reverse the container, so ogdf::reverse() is probably not what you want.
Best regards,
Dagobert