Changeset 543931 in git


Ignore:
Timestamp:
Jun 17, 2006, 1:43:35 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
d5245dab5e822b080f9ee9d2d2decfb0e29585f9
Parents:
2a94d39001fd31dc8aa5ef872819d2b2b64cb0fd
Message:
*hannes: sparc-cc


git-svn-id: file:///usr/local/Singular/svn/trunk@9229 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
IntegerProgramming
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • IntegerProgramming/IP_algorithms.cc

    r2a94d3 r543931  
    32973297      }
    32983298
    3299       Integer initial_solution[weighted_variables];
     3299      Integer *initial_solution=new Integer[weighted_variables];
    33003300
    33013301      for(short k=0;k<instances;k++)
     
    33133313              "first input \nfile, this and all following right hand vectors "
    33143314              "will be ignored"<<endl;
    3315             delete[] right_hand;
     3315            delete[] initial_solution;
    33163316            return 0;
    33173317          }
     
    33523352        output<<setw(6)<<setprecision(2)<<elapsed<<" sec"<<endl<<endl;
    33533353      }
     3354      delete[] initial_solution;
    33543355    }
    33553356
    3356   delete[] right_hand;
    33573357  return 1;
    33583358
  • IntegerProgramming/LLL_lattice_to_send.cc

    r2a94d3 r543931  
    5454#include <stdio.h>
    5555#include <stdlib.h>
     56#include <string.h>
    5657#include <ctype.h>
    5758#include <new>
Note: See TracChangeset for help on using the changeset viewer.