Skip to content

Commit

Permalink
tiny things
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Nov 27, 2018
1 parent a8da988 commit ba011e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions exoplanet/citations.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def get_citations_for_model(model=None):
cite += list(v[0])
bib.append(v[1])

txt = ("This research made use of \\textsf{{exoplanet}} (Foreman-Mackey "
"et al.\ in prep.) and its dependencies \citep{{{0}}}.")
txt = (r"This research made use of \textsf{{exoplanet}} (Foreman-Mackey "
r"et al.\ in prep.) and its dependencies \citep{{{0}}}.")
txt = txt.format(",".join(sorted(cite)))

return txt, "\n".join(bib)
Expand Down
4 changes: 0 additions & 4 deletions exoplanet/theano_ops/kepler/solver_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ def test_solver(self):
func = theano.function([M_t, e_t], self.op(M_t, e_t))
E0, f0 = func(M, e)

delta = np.abs(E - E0)
ind = np.unravel_index(np.argmax(delta), delta.shape)
print(M[ind], e[ind], E[ind], E0[ind])

utt.assert_allclose(E, E0)
utt.assert_allclose(f, f0)

Expand Down

0 comments on commit ba011e0

Please sign in to comment.