| Summary: | printDist() gives larger size than the array returned from calShortestDist() | ||
|---|---|---|---|
| Product: | Group 13 Dating App System (vibing.com) | Reporter: | Varun <avbalaji2-c> |
| Component: | FloydWarshall | Assignee: | Phudis Dawieang <pdawieang2-c> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | avbalaji2-c |
| Priority: | --- | ||
| Version: | 1 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Deadline: | 2020-10-31 | ||
| Attachments: | how clearArray is added | ||
|
Description
Varun
2020-11-27 14:39:16 HKT
Created attachment 56 [details]
how clearArray is added
Thank you for the bug report. The problem caused by the static array male and female declared and not cleared at the beginning of the program. The clearArray is added in mapInitialize() so that every program startup will clear the array. (In reply to Phudis Dawieang from comment #2) > Thank you for the bug report. The problem caused by the static array male > and female declared and not cleared at the beginning of the program. The > clearArray is added in mapInitialize() so that every program startup will > clear the array. |