Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 54
    • Issues 54
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Issues
  • #8
Closed
Open
Issue created Feb 26, 2015 by Bert Vandenbroucke@bvandenbrouckeMaintainer

uninitialized variables in gparts_sort

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...

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking