Ignore:
Timestamp:
Dec 13, 2008, 9:14:51 AM (13 years ago)
Author:
Jari Häkkinen
Message:

Addresses #466. Changed to VectorBase? passing. Added documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/regression/GSLInterpolation.cc

    r1643 r1644  
    2222#include "GSLInterpolation.h"
    2323
    24 #include "yat/utility/VectorConstView.h"
     24#include "yat/utility/VectorBase.h"
    2525
    2626#include <cassert>
     
    3232
    3333  GSLInterpolation::GSLInterpolation(const gsl_interp_type* interpolator_type,
    34                                      const utility::VectorConstView& x,
    35                                      const utility::VectorConstView& y)
     34                                     const utility::VectorBase& x,
     35                                     const utility::VectorBase& y)
    3636  {
    3737    assert(x.size()==y.size());
     
    4343      y_[i]=y(i);
    4444    }
    45     interpolator_=gsl_interp_alloc (interpolator_type, size);
     45    interpolator_ = gsl_interp_alloc(interpolator_type, size);
    4646    gsl_interp_init(interpolator_, x_, y_, size);
    4747    accelerator_ = gsl_interp_accel_alloc();
Note: See TracChangeset for help on using the changeset viewer.