Solving compilation problems on static class members.
--- 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;