Solving compilation problems on static class members.
authorviric@llimona
Tue, 13 Nov 2007 17:18:10 +0100
changeset 212 8afc05d983f4
parent 211 7715fd687b9f
child 213 cdf16c93b654
Solving compilation problems on static class members.
qjpeg/plugins/ORourke.cpp
qjpeg/plugins/ORourke.h
qjpeg/plugins/Robertson.cpp
qjpeg/plugins/Robertson.h
--- a/qjpeg/plugins/ORourke.cpp	Mon Nov 12 23:17:18 2007 +0100
+++ b/qjpeg/plugins/ORourke.cpp	Tue Nov 13 17:18:10 2007 +0100
@@ -31,6 +31,8 @@
  *   the bitmap according to the method constraints.
  */
 
+const float ORourke::MINIMUM_STEP_SIZE=0.0000001;
+
 void ORourke::prepare(const CoefsPlane *coefs,
             const FloatPlane *initial)
 {
--- a/qjpeg/plugins/ORourke.h	Mon Nov 12 23:17:18 2007 +0100
+++ b/qjpeg/plugins/ORourke.h	Tue Nov 13 17:18:10 2007 +0100
@@ -7,7 +7,7 @@
     int steps;
     float T_Huber;
     float step_size;
-    static const float MINIMUM_STEP_SIZE=0.0000001;
+    static const float MINIMUM_STEP_SIZE;
 
 private:
     CoefsPlane DCTmin;
--- a/qjpeg/plugins/Robertson.cpp	Mon Nov 12 23:17:18 2007 +0100
+++ b/qjpeg/plugins/Robertson.cpp	Tue Nov 13 17:18:10 2007 +0100
@@ -25,6 +25,8 @@
  *   the minimizing loop.
  */
 
+const float Robertson::MINIMUM_STEP_SIZE=0.0000001;
+
 void Robertson::prepare(const CoefsPlane *coefs,
             const FloatPlane *initial)
 {
--- a/qjpeg/plugins/Robertson.h	Mon Nov 12 23:17:18 2007 +0100
+++ b/qjpeg/plugins/Robertson.h	Tue Nov 13 17:18:10 2007 +0100
@@ -8,7 +8,7 @@
     float T_Huber;
     float step_size;
     float lambda;
-    static const float MINIMUM_STEP_SIZE=0.0000001;
+    static const float MINIMUM_STEP_SIZE;
 
 private:
     CoefsPlane DCTmin;