Ticket #3391 (closed defect: worksforme)

Opened 12 years ago

Last modified 8 years ago

mtgl_test.cpp prints garbage when loading dimacs graphs from a file

Reported by: wcmclen Owned by: eldorado-graph@…
Priority: high Milestone:
Version: Severity: minor
Keywords: Cc:


The loader does seem to properly load the dimacs file but when it prints the nodes and edges statistics in mtgl_test.cpp, it chooses to print the one from kti.csg and gets garbage.

It looks like the graph is stored in kti.g for these rather than kti.csg but kti.graph_struct is set to CSR and kti.csg isn't null?

Change History

comment:1 Changed 12 years ago by wcmclen

  • Cc wcmclen@… added
  • Status changed from new to closed
  • Resolution set to worksforme

Updated mtgl_test.h to initialize csg and mmg members of kernel_test_info to NULL. Also changed kernel_test_info.graph_struct to DYN instead of leaving it set to CSR in mtgl_test.cpp so that the edges and vertices are printed correctly when loading dimacs graphs.

comment:2 Changed 8 years ago by gemacke

  • Version unspecified deleted

Getting rid of unspecified version. Changing to <blank> as the unknown version.

comment:3 Changed 8 years ago by gemacke

  • component Eldorado deleted
Note: See TracTickets for help on using tickets.