adjust assert param order
@@ -87,7 +87,7 @@ class TestVQE2IQPE(QiskitAquaTestCase):
fractional_part_only=True
)))
- np.testing.assert_approx_equal(self.ref_eigenval, result['energy'], significant=2)
+ np.testing.assert_approx_equal(result['energy'], self.ref_eigenval, significant=2)
if __name__ == '__main__':
