Skip to content

Commit 5942b72

Browse files
committed
survey_graphics/tab_kzh_minimal_has_only_crazy_perturbation_1.sage: import reload
1 parent fd4c7cf commit 5942b72

3 files changed

+7
-6
lines changed

survey_graphics/graphics_for_crazy_perturbation.sage

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ g.show(figsize=4, show_legend=False)
1515
g.save(destdir + "zhou_two_sided_discontinuous_cannot_assume_any_continuity-covered_intervals.png", figsize=4, show_legend=False)
1616
extremality_test(h)
1717
# INFO: 2016-04-18 03:27:22,579 Finding epsilon interval for perturbation... done. Interval is [-4/9, 4/3]
18-
pert = h._perturbations[0] * 4/9
18+
pert = h._perturbations[0] * (4/9)
1919

2020
default_rainbow = rainbow
2121

survey_graphics/graphics_for_survey_poset.sage

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ v[2] = multiplicative_homomorphism(gmic(f=fractional(2*f)),2)
1010
assert extremality_test(v[2])
1111
v[3] = ll_strong_fractional(f)
1212
assert extremality_test(v[3])
13-
v[12] = (v[1] + v[2]) / 2
14-
v[13] = (v[1] + v[3]) / 2
15-
v[23] = (v[2] + v[3]) / 2
16-
v[123] = (v[1] + v[2] + v[3]) / 3
13+
v[12] = 1/2 * (v[1] + v[2])
14+
v[13] = 1/2 * (v[1] + v[3])
15+
v[23] = 1/2 * (v[2] + v[3])
16+
v[123] = 1/3 * (v[1] + v[2] + v[3])
1717

1818
## Just the envelope of v[2] and v[1]
1919
#v['b'] = piecewise_function_from_breakpoints_and_values([0, 5/14, 6/7, 1], [0, 1, 1, 0])

survey_graphics/tab_kzh_minimal_has_only_crazy_perturbation_1.sage

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import cutgeneratingfunctionology.igp as igp; reload(igp); from cutgeneratingfunctionology.igp import *
1+
import importlib
2+
import cutgeneratingfunctionology.igp as igp; importlib.reload(igp); from cutgeneratingfunctionology.igp import *
23

34
igp.default_field=SR
45
h = kzh_minimal_has_only_crazy_perturbation_1()

0 commit comments

Comments
 (0)