qutip/qutip — pull request #27 by swhalen (2013-06-12 04:59:10+00:00)
Title: Fix bug in _correlation_me_2op_2t

Currently, _correlation_me_2op_2t calculates \ when reverse=True, and \. This is the opposite of what it should be, and causes qutip.correlation.correlation and qutip.correlation.correlation_2op_2t to give incorrect results when using the "me" solver.

This patch fixes the problem, making the behaviour of _correlation_me_2op_2t consistent with the other qutip.correlation functions and with the documentation.