Skip to content
Snippets Groups Projects
  1. Nov 09, 2017
    • Frank Sauerburger's avatar
      Clean up the code and add null pointer checks · ecbaf94b
      Frank Sauerburger authored
      The commit cleans up the code, such that it compiles without any warnings.
      Additionally it is ensured that no segmentation faults occurs. There have
      been several different types of changes.
      
       - Unused variables have been removed.
       - A lot of cleanup and documentation has been added in the course of issue #2.
       - A numpy deprecation flag for version 1.12 has been set.
       - Attention has been paid to the difference between PyArrayObject and PyObject
         pointers.
       - Checks to detect memory allocation errors have been added, which would have
         otherwise resulted in segmentation faults.
      
      Closes #7.
    • Frank Sauerburger's avatar
      Merge branch '2-fix-reference-counting' into 'master' · 1e326a64
      Frank Sauerburger authored
      Resolve "Fix reference counting"
      
      Closes #2
      
      See merge request !4
      1e326a64
    • Frank Sauerburger's avatar
      Remove debug printout · 0bca7571
      Frank Sauerburger authored
      Remove the print statements used to debug reference counting issues.
    • Frank Sauerburger's avatar
      Check reference counting · bf605ff3
      Frank Sauerburger authored
      Perform a code review to check that the reference counter of the input arrays
      are not modified by the function alls and that there are no lost references to
      the output array.
      
      This closes #2.
  2. Nov 05, 2017
  3. Nov 03, 2017
Loading