Uploaded image for project: 'MAEviz'
  1. MAEviz
  2. MAE-517 Temp housing algorithm
  3. MAE-878

Fix bug in Omar's code and rebuild executables for windows/linux

XMLWordPrintableJSON

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0
    • 3.1
    • Science Features
    • None

      From Omar:

      Hi Nathan,

      I found the bug in part_b of the code.

      In the 2.5b_retrieve_data.h file, in the void retrieve_all_data() funtion:
      use of the following line:
      for (k = 0; k < number_of_preferred_zones; k++) fscanf(input,"%d\t", &optimal_solutions[i].assignments[j][k]);
      instead of the following line:
      for (k = 0; k < number_of_preferred_zones; k++) fscanf(input,"%f\t", &optimal_solutions[i].assignments[j][k]);

              tolbert Nathan Tolbert
              tolbert Nathan Tolbert
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 12 weeks, 2 days
                  12w 2d
                  Remaining:
                  Remaining Estimate - 12 weeks, 2 days
                  12w 2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified