bug fix
fixing a bug where the gradient with the biggest amplitude is not correctly set up in CMS intermediate-state optimization.
-
Documentation updated or not needed. -
Test created or not needed. -
Attribution in source files and CONTRIBUTORS.md
updated if necessary.