Ignore:
Timestamp:
Feb 9, 2009, 11:11:30 PM (12 years ago)
Author:
Peter
Message:

Changed MatrixLookup::operator() to return const double& rather than double. Fixes #488

File:
1 edited

Legend:

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

    r1528 r1788  
    55  Copyright (C) 2006 Jari Häkkinen, Peter Johansson, Markus Ringnér
    66  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    7   Copyright (C) 2008 Peter Johansson
     7  Copyright (C) 2008, 2009 Peter Johansson
    88
    99  This file is part of the yat library, http://dev.thep.lu.se/yat
     
    219219
    220220
    221   double MatrixLookup::operator()(const size_t row, const size_t column) const
     221  MatrixLookup::const_reference
     222  MatrixLookup::operator()(size_t row, size_t column) const
    222223  {
    223224    assert(row<rows());
Note: See TracChangeset for help on using the changeset viewer.