Merge pull request #5622 from RosettaCommons/vmullig/fix_generate_mainchain_potential_copy_constructor
Mistake in GenerateMainchainPotential copy constructor.
This wasn't properly copying, and was creating a compilation error on Mac/clang. Now it should work properly.