Public bug reported:

the following files in the include directory are affected:
  ardgsym.h
  ardssym.h

***********************************************************************************************
The following changes are required to patch the current version:
***********************************************************************************************

Index: arpack++/include/ardgsym.h
===================================================================
--- arpack++.orig/include/ardgsym.h     2015-12-18 11:00:06.046030000 -0800
+++ arpack++/include/ardgsym.h  2014-07-09 18:30:28.000000000 -0700
@@ -138,7 +138,7 @@
 
   ARSymGenEig<ARFLOAT, ARdsSymPencil<ARFLOAT>, ARdsSymPencil<ARFLOAT> >::
     SetShiftInvertMode(sigmap, &Pencil, &ARdsSymPencil<ARFLOAT>::MultInvAsBv);
-  ChangeMultBx(&Pencil, &ARdsSymPencil<ARFLOAT>::MultBv);
+  this->ChangeMultBx(&Pencil, &ARdsSymPencil<ARFLOAT>::MultBv);
 
 } // SetShiftInvertMode.
 
@@ -150,7 +150,7 @@
 
   ARSymGenEig<ARFLOAT, ARdsSymPencil<ARFLOAT>, ARdsSymPencil<ARFLOAT> >::
     SetBucklingMode(sigmap, &Pencil, &ARdsSymPencil<ARFLOAT>::MultInvAsBv);
-  ChangeMultBx(&Pencil, &ARdsSymPencil<ARFLOAT>::MultAv);
+  this->ChangeMultBx(&Pencil, &ARdsSymPencil<ARFLOAT>::MultAv);
 
 } // SetBucklingMode.
 
@@ -163,7 +163,7 @@
   ARSymGenEig<ARFLOAT, ARdsSymPencil<ARFLOAT>, ARdsSymPencil<ARFLOAT> >::
     SetCayleyMode(sigmap, &Pencil, &ARdsSymPencil<ARFLOAT>::MultInvAsBv,
                   &Pencil, &ARdsSymPencil<ARFLOAT>::MultAv);
-  ChangeMultBx(&Pencil, &ARdsSymPencil<ARFLOAT>::MultBv);
+  this->ChangeMultBx(&Pencil, &ARdsSymPencil<ARFLOAT>::MultBv);
 
 } // SetCayleyMode.
 
@@ -197,7 +197,7 @@
 {
 
   Pencil.DefineMatrices(A, B);
-  this->DefineParameters(A.ncols(), nevp, &Pencil,
+  DefineParameters(A.ncols(), nevp, &Pencil,
                    &ARdsSymPencil<ARFLOAT>::MultInvAsBv, &Pencil,
                    &ARdsSymPencil<ARFLOAT>::MultBv, whichp,
                    ncvp, tolp, maxitp, residp, ishiftp);
Index: arpack++/include/ardssym.h
===================================================================
--- arpack++.orig/include/ardssym.h     2015-12-18 11:00:06.046030000 -0800
+++ arpack++/include/ardssym.h  2014-07-09 18:30:20.000000000 -0700
@@ -134,9 +134,9 @@
 
 {
 
-  this->DefineParameters(A.ncols(), nevp, &A, 
&ARdsSymMatrix<ARFLOAT>::MultInvv,
+  DefineParameters(A.ncols(), nevp, &A, &ARdsSymMatrix<ARFLOAT>::MultInvv,
                    whichp, ncvp, tolp, maxitp, residp, ishiftp);
-  this->ChangeShift(sigmap);
+  ChangeShift(sigmap);
 
 } // Long constructor (shift and invert mode).

** Affects: arpack++ (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "patch for ardgsym.h and ardssym.h"
   https://bugs.launchpad.net/bugs/1527725/+attachment/4537008/+files/patch.zip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527725

Title:
  compilation error with g++ version starting from 4.7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/arpack++/+bug/1527725/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to