Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 926 Bytes

TODO.adoc

File metadata and controls

16 lines (15 loc) · 926 Bytes

L1C TODOs

  1. Untested functions:

    1. _l1c_l1qcProb_new Should check somehow that the right things happens if malloc fails.

    2. _l1c_l1qcProb_delete Dont know what to test here. I guess I can pass a null pointer, and otherwise leave it up to valgrind to check the whole thing got freed.

    3. test_l1c_malloc_double_2D need to check it returns NULL if an inner malloc fails.

    4. l1c_free_double_2D, should check it works when ddptr==NULL

  2. The dct/dct2 should not store their state as local-globals. This limits the user to seting up a single optimization. Rather, the state should be stored, possibly, as an opaqe field in the struct of function pointers.

  3. Need tests for dctTV that dct1 and dct2 get selected properly. Possibly, this should just get tested in l1c_setup_dct(). .Need integration tests for mex nesta interface, in other modes besides synthesis. .Need to develop better tests for python mode.