Commit 6ea06560 authored by pacanows's avatar pacanows

Comestic Minor changes.

Removed some warnings about int vs unsigned comparisons
parent e18951ae
...@@ -26,7 +26,7 @@ class rational_function : /*public QObject,*/ public function ...@@ -26,7 +26,7 @@ class rational_function : /*public QObject,*/ public function
// Overload the function operator // Overload the function operator
virtual vec value(const vec& x) const ; virtual vec value(const vec& x) const ;
virtual vec operator()(const vec& x) const { return value(x) ; } ; virtual vec operator()(const vec& x) const { return value(x) ; }
// Get the p_i and q_j function // Get the p_i and q_j function
virtual double p(const vec& x, int i) const ; virtual double p(const vec& x, int i) const ;
...@@ -41,8 +41,8 @@ class rational_function : /*public QObject,*/ public function ...@@ -41,8 +41,8 @@ class rational_function : /*public QObject,*/ public function
const std::vector<double>& in_b) ; const std::vector<double>& in_b) ;
// Get the coefficients // Get the coefficients
virtual double getP(int i) const { return a[i] ; } ; virtual double getP(int i) const { return a[i] ; }
virtual double getQ(int i) const { return b[i] ; } ; virtual double getQ(int i) const { return b[i] ; }
// STL stream ouput // STL stream ouput
friend std::ostream& operator<< (std::ostream& out, const rational_function& r) ; friend std::ostream& operator<< (std::ostream& out, const rational_function& r) ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment