Ignore:
Timestamp:
Feb 1, 2008, 2:12:31 PM (14 years ago)
Author:
Peter
Message:

init some pointers to null and removing conflict

File:
1 edited

Legend:

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

    r1009 r1010  
    4444
    4545  vectorView::vectorView(void)
    46     : vectorBase()
     46    : vectorBase(), view_(NULL), const_view_(NULL)
    4747  {
    4848  }
     
    5050
    5151  vectorView::vectorView(vectorView& other)
    52     : vectorBase()
     52    : vectorBase(), const_view_(NULL)
    5353  {
    5454    view_ = new gsl_vector_view(gsl_vector_subvector(other.gsl_vector_p(),
     
    6969
    7070  vectorView::vectorView(vectorBase& other)
    71     : vectorBase(other.gsl_vector_p())
     71    : vectorBase(other.gsl_vector_p()), const_view_(NULL)
    7272  {
    7373    view_ =
     
    8686
    8787  vectorView::vectorView(vectorBase& v, size_t offset,size_t n,size_t stride)
    88     : vectorBase()
     88    : vectorBase(), const_view_(NULL)
    8989  {
    9090    view_ =
     
    107107
    108108  vectorView::vectorView(matrix& m, size_t i, bool row)
    109     : vectorBase()
     109    : vectorBase(), const_view_(NULL)
    110110  {
    111111    view_=new gsl_vector_view(row ?
Note: See TracChangeset for help on using the changeset viewer.