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.h

    r1588 r1788  
    88  Copyright (C) 2006 Jari Häkkinen, Peter Johansson, Markus Ringnér
    99  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    10   Copyright (C) 2008 Peter Johansson
     10  Copyright (C) 2008, 2009 Peter Johansson
    1111
    1212  This file is part of the yat library, http://dev.thep.lu.se/yat
     
    301301    /// @return element
    302302    ///
    303     double operator()(const size_t row, const size_t column) const;
     303    const_reference operator()(size_t row, size_t column) const;
    304304
    305305    ///
Note: See TracChangeset for help on using the changeset viewer.