#15915: add discrete Gaussian samplers to Sage
-------------------------------------------------+-------------------------
Reporter: malb | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.4
Component: statistics | Resolution:
Keywords: sd59 | Merged in:
Authors: Martin Albrecht | Reviewers: Julian
Report Upstream: N/A | Rueth
Branch: | Work issues:
caa8ccf49a6ffd2794fd13f0933c47d26336ecbc | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Changes (by vbraun):
* status: closed => new
* commit: caa8ccf49a6ffd2794fd13f0933c47d26336ecbc =>
* resolution: fixed =>
Comment:
I got this failure now on arando (32-bit linux). It worked on the previous
test run, so the failure is non-deterministic. Try running tests in a loop
to reproduce.
{{{
sage -t --long src/sage/stats/distributions/discrete_gaussian_integer.pyx
**********************************************************************
File "src/sage/stats/distributions/discrete_gaussian_integer.pyx", line
251, in
sage.stats.distributions.discrete_gaussian_integer.DiscreteGaussianIntegerSampler.__init__
Failed example:
min(l) == 0-2*1.0, max(l) == 0+2*1.0, abs(mean(l)) < 0.01
Expected:
(True, True, True)
Got:
(True, True, False)
**********************************************************************
1 item had failures:
1 of 48 in
sage.stats.distributions.discrete_gaussian_integer.DiscreteGaussianIntegerSampler.__init__
[88 tests, 1 failure, 7.14 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15915#comment:54>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.