mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-04-05 09:35:54 +01:00
const-correctness fix
This commit is contained in:
parent
cb2f6bf0aa
commit
11ecea3c6d
@ -180,7 +180,7 @@ DoubleFunction DoubleFunction::bind(const Index argIndex,
|
||||
}
|
||||
|
||||
// sample //////////////////////////////////////////////////////////////////////
|
||||
DVec DoubleFunction::sample(const DMat &x)
|
||||
DVec DoubleFunction::sample(const DMat &x) const
|
||||
{
|
||||
if (x.cols() != getNArg())
|
||||
{
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
DoubleFunction bind(const Index argIndex, const double val) const;
|
||||
DoubleFunction bind(const Index argIndex, const DVec &x) const;
|
||||
// sample
|
||||
DVec sample(const DMat &x);
|
||||
DVec sample(const DMat &x) const;
|
||||
// arithmetic operators
|
||||
DoubleFunction operator-(void) const;
|
||||
DoubleFunction & operator+=(const DoubleFunction &f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user