chebfun/chebfun — pull request #1106 by gradywright (2014-08-11 21:33:02+00:00)
Title: Bug fix for dealing with arbitrary intervals in the fourcoeffs method 

Fixed a bug where the Fourier coefficients were not being computed correctly whenever the domain was not symmetric about the origin. The issue was that a term arising from the change of variables was not being accounted for. This bug partially address #1101.

Added a test for this bug.