Changeset 370 for cpp


Ignore:
Timestamp:
04/20/15 03:59:22 (10 years ago)
Author:
Maciej Komosinski
Message:

#included file more friendly for *nix'es

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/similarity/SVD/matrix_tools.cpp

    r368 r370  
    99#include <cmath>
    1010#include <cstdio>
    11 #include <alloc.h> //malloc(), embarcadero
     11#include <stdlib.h> //malloc(), embarcadero
    1212#include <math.h> //sqrt(), embarcadero
    1313
     
    1515double *Create(int nSize)
    1616{
    17     double *matrix = (double *) malloc(nSize * sizeof (double));
     17        double *matrix = (double *) malloc(nSize * sizeof (double));
    1818
    1919    for (int i = 0; i < nSize; i++)
Note: See TracChangeset for help on using the changeset viewer.