exoplanet-dev / exoplanet

Fast & scalable MCMC for all your exoplanet needs!
https://docs.exoplanet.codes
MIT License
206 stars 52 forks source link

GP likelihood shouldn't complain about Fortran order for 1D data #75

Closed dfm closed 4 years ago

dfm commented 4 years ago

To Reproduce This section should include a simple, standalone code snippet that demonstrates the issue.

y = np.asfortranarray(y)
gp.log_likelihood(y)

Currently throws a "dimension mismatch" error.

dfm commented 4 years ago

From @ruthangus

dfm commented 4 years ago

This actually seems to work just fine - not sure what was happening before. It must have been something else about data read in from a FITS file. Let's re-open if we find it again.