Ignore:
Timestamp:
Feb 22, 2008, 12:18:41 AM (14 years ago)
Author:
Peter
Message:

vector is now Vector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/utility.cc

    r1009 r1120  
    2626#include "DataLookup1D.h"
    2727#include "DataLookupWeighted1D.h"
    28 #include "yat/utility/vector.h"
     28#include "yat/utility/Vector.h"
    2929
    3030
     
    3333namespace classifier {
    3434
    35   void convert(const DataLookup1D& lookup, utility::vector& vector)
     35  void convert(const DataLookup1D& lookup, utility::Vector& vector)
    3636  {
    37     vector = utility::vector(lookup.size());
     37    vector = utility::Vector(lookup.size());
    3838    for(u_int i=0; i<lookup.size(); i++)
    3939      vector(i)=lookup(i);
    4040  }
    4141
    42   void convert(const DataLookupWeighted1D& lookup, utility::vector& value,
    43                utility::vector& weight)
     42  void convert(const DataLookupWeighted1D& lookup, utility::Vector& value,
     43               utility::Vector& weight)
    4444  {
    4545   
    46     value = utility::vector(lookup.size());
    47     weight = utility::vector(lookup.size());
     46    value = utility::Vector(lookup.size());
     47    weight = utility::Vector(lookup.size());
    4848    for(u_int i=0; i<lookup.size(); i++){
    4949      value(i)=lookup.data(i);
Note: See TracChangeset for help on using the changeset viewer.