Skip to content

Commit

Permalink
trac 8750: noise on solaris
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpalmieri committed Apr 23, 2010
1 parent 3e57018 commit 37978fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/sage/finance/time_series.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,8 @@ cdef class TimeSeries:
Log of 0 gives -inf:
sage: finance.TimeSeries([1,0,3]).log()
[0.0000, -inf, 1.0986]
sage: finance.TimeSeries([1,0,3]).log()[1]
-inf
"""
cdef Py_ssize_t i
cdef TimeSeries t = new_time_series(self._length)
Expand Down
2 changes: 1 addition & 1 deletion src/sage/stats/hmm/chmm.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ cdef class GaussianMixtureHiddenMarkovModel(GaussianHiddenMarkovModel):
sage: m = hmm.GaussianMixtureHiddenMarkovModel([[.9,.1],[.4,.6]], [[(.4,(0,1)), (.6,(1,0.1))],[(1,(0,1))]], [.7,.3])
sage: set_random_seed(0); v = m.sample(10)
sage: m.baum_welch(v, fix_emissions=True)
(-7.5865685899788922, 36)
(-7.58656858997889..., 36)
sage: m.emission_parameters()
[0.4*N(0.0,1.0) + 0.6*N(1.0,0.1), 1.0*N(0.0,1.0)]
"""
Expand Down

0 comments on commit 37978fe

Please sign in to comment.