[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [4882] Remove a gratuitous difference versus 'ihs_database
From: |
Greg Chicares |
Subject: |
[lmi-commits] [4882] Remove a gratuitous difference versus 'ihs_database.cpp' |
Date: |
Sat, 01 May 2010 12:28:18 +0000 |
Revision: 4882
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=4882
Author: chicares
Date: 2010-05-01 12:28:17 +0000 (Sat, 01 May 2010)
Log Message:
-----------
Remove a gratuitous difference versus 'ihs_database.cpp'
Modified Paths:
--------------
lmi/trunk/database.cpp
Modified: lmi/trunk/database.cpp
===================================================================
--- lmi/trunk/database.cpp 2010-05-01 11:31:43 UTC (rev 4881)
+++ lmi/trunk/database.cpp 2010-05-01 12:28:17 UTC (rev 4882)
@@ -124,14 +124,14 @@
double TDatabase::Query(int k) const
{
ConstrainScalar(k); // TODO ?? Is the extra overhead acceptable?
- return *GetEntry(k)[Index];
+ return *GetEntry(k)[Idx];
}
//===========================================================================
void TDatabase::Query(std::vector<double>& dst, int k) const
{
TDBValue const& v = GetEntry(k);
- double const*const z = v.operator[](Index);
+ double const*const z = v[Idx];
dst.resize(length_);
if(1 == v.GetNDims())
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [4882] Remove a gratuitous difference versus 'ihs_database.cpp',
Greg Chicares <=