Changeset 821 for mystic/tests/test_dirac_measure.py
- Timestamp:
- 08/13/15 12:51:47 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mystic/tests/test_dirac_measure.py
r776 r821 46 46 if disp: print "weights (when normalized to 0.0): %s" % weights 47 47 assert almostEqual(sum(weights), 0.0, tol=1e-15) 48 weights = normalize(wts )48 weights = normalize(wts, 1.0) 49 49 assert almostEqual(sum(weights), 1.0, tol=1e-15) 50 50 if disp: print "weights (when normalized to 1.0): %s" % weights
Note: See TracChangeset
for help on using the changeset viewer.