10116 Commits

Author SHA1 Message Date
Behdad Esfahbod
b54ac734cc [instancer.solver] Add assertion 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
aabced171e [instancer.solver] Fix case3 with gain
Ouch!
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
7ee8414cab [instancer.solver] Better handling of peak==axisDef 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
e08553011a [instancer.solver] Handle when peak falls on new axis default 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
528bcdf1a2 [instancer] No need to check for scalar=1
The scaleDeltas() function does it.
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
d2cb561cee [instancer] L4 avar mapping 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
24cd9dc00e [instancer] Simplify avar mapping more 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
7330c78b10 [instancer] Towards L4 avar 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
d17d1355a2 [instancer] Simplify avar normalization 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
3108e52a90 [instancer] Remove redundant checks 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
e2a875b26c [instancer] Implement featureVariations L4 instancing
I *think* this is all.
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
890938ef09 [instancer.solver] Try harder to fix on python 3.7 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
3c998785db [instancer.solver] Use older lru_cache instead of cache 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
8f6779d67e [instancer] Fix the rest of tests 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
53b6c4c9fe [instancer.solver] Fix negative -2 case 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
d3e0a39362 [instancer] Fix more tests 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
5254c9354c [instancer] Fix most tests! 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
11aa044515 [instancer] Fix another couple of tests 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
08c896f534 [instancer.solver] Cleanup tests of pytest.approx 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
eddc53c267 [instancer.solver] More test 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
cff162579d [instancer] Fix a few more tests 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
272e4e8999 [instancer] Fix a few more tests 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
5118e3327d [instancer] Fix some more tests 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
0947ca6b6c [instancer] Fix "drop" to some extent 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
743033d755 [instancer.solver] Use pytest.approx() in tests 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
d03879607b [instancer] Make a few tests happy 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
4dc271ac72 [instancer.solver] Remove redundant words 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
c628cc82b5 [instancer.solver] Rename internal function 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
6b6aba6bd4 [instancer.solver] Add ASCII-art 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
948788adaf [instancer.solver] More API doc 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
7d15e33e69 [instancer.solver] Document API 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
e7d4416c27 [instancer.solver] Add more tests 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
52c791ad1d [instancer.solver] Add a special case 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
245c3e9575 [instancer.solver] Comment algorithm 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
617f19ff8d [instancer.solver] Add comments 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
7f79fad3d0 [instancer.solver] Remove unused _solveWithoutGain() 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
b6a3ef37e1 [instancer.solver] Second try at sending everything through WithGain 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
f6ce737476 [instancer] Add assert 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
c3fa1b59ac [instancer.solver] Return None as gain tent 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
a87ba55a90 [instancer.solver] More test 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
340fb5866c [instancer.solver] More test 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
dd5452527e [instancer.solver] More fixes 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
264ac96288 [instancer.solver] Improve test 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
4637daf191 [instancer.solver] Fix 3a 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
bb94fe0df2 [instancer.solver] One more test 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
8a49fdc4ec [instancer.solver] Fix up algorithm again 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
6210e7d331 [instancer.solver] Test more 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
17ac8d9f28 Revert "[instancer.solver] Remove _solveWithoutGain"
This reverts commit e867aadf6f6befdc84fd4cf1496faa2517e42b17.
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
2d986a37fc [instancer.solver] Remove _solveWithoutGain
Use _solveWithGain for it. Fold all into a general _solve.
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
fa7b219030 [instancer] Fix fvar with range change 2022-10-13 10:35:02 -06:00