Gvar

Latest version: v13.0.2

Safety actively analyzes 630523 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 18

8.2.2

Not secure
=========================
Minor/rare bug fixes:

- SVD(mat, rescale=True) works now when mat has a zero on the diagonal. Such
a zero is a very unusual occurrence so this fix will have no impact
on almost all codes. This repairs a bug introduced in v8.1.

- GVars whose mean or standard deviation are nans will no longer cause
an exception when they are printed. Thanks to Daniel Hackett.

8.2.1

Not secure
=========================

- Fixed bug in gvar.gvar that mishandled GVars with standard
deviation exactly equal to 0, when they were in arrays. This
caused segmentation faults occasionally.

- Tiny fix to Dataset for use with hdf5 files.

8.2

Not secure
========================
Very small changes, mostly to support other modules.

- gvar.dataset.Dataset can now read from files that use hdf5 format.

- del g[k] and g.get(k) now implemented for any BufferDict g.

- Can specify buffer data type when creating a BufferDict from
a dictionary or list of tuples: g = BufferDict(d, dtype=object).

- Fixed small bug in gvar.tabulate (headers=False didn't work).

8.1

Not secure
===========================
Mostly internal changes needed by other code.

- Improved internal treatment of sparse covariance matrices in
gvar.svd (more sparse now). This involved improvements in svec and smat,
which now look for and remove entries that are 0; and it involved a new
function evalcov_blocks that constructs the non-zero block diagonals of the
covariance matrix (as opposed to the entire matrix, which is what evalcov
does). This should lead to small speedups but also greatly reduce memory
consumption in cases where evalcov was used to construct covariance matrices
for large numbers of GVars (eg, lsqfit).

- Two new convenience functions: cov(g1,g2) which is evalcov([g1,g2])[0,1]
and corr(g1,g2) which returns evalcorr([g1,g2])[0,1].

- gvar.ranseed now accepts single integers, as well as lists of
integers, as an argument.

- New low-level routines gvar.disassemble and gvar.reassemble
that should be used with care.

- changed gvar.chi2() so its output can be formatted with
gvar.fmt_chi2().

8.0

Not secure
=======================
This is a small change but one that is not compatible with previous
versions. I accidently introduced a circular import when adding
PDFIntegrator to gvar. PDFIntegrator has to be part of the vegas
module, not the gvar module. So gvar.PDFIntegrator needs to be
replaced by vegas.PDFIntegrator in existing code. This is the only
change and is irrelevant if you are not using module vegas together
with gvar (or lsqfit).

There are also some internal changes to correct data-type mismatches
on windows machines.

7.3.1

Not secure
==========================
This is a very small change to the new PDFIntegrator class (new as of

Page 11 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.