Skip to content
GitLab
  • Menu
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 53
    • Issues 53
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • 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
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