Skip to content
Snippets Groups Projects
Closed uninitialized variables in gparts_sort
  • View options
  • uninitialized variables in gparts_sort

  • View options
  • Closed Issue created by Bert Vandenbroucke

    Valgrind complains about uninitialized values in gparts_sort. Not entirely sure, but could it be that the line

    space.c:403 gparts_sort( gparts ,ind , nr_parts , 0 , s->nr_cells-1 );

    should read

    space.c:403 gparts_sort( gparts ,ind , nr_gparts , 0 , s->nr_cells-1 );

    ? This solves the valgrind error, but I'm not sure if it affects anything else...

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading