Re: "is protected within this context" error
From: Victor Bazarov (v.Abazarov_at_comAcast.net)
Date: 03/24/05
- Next message: Victor Bazarov: "Re: How to read data from a bash pipe -- thank you"
- Previous message: Howard: "Re: How to read data from a bash pipe -- thank you"
- In reply to: H. S.: "Re: "is protected within this context" error"
- Next in thread: H. S.: "Re: "is protected within this context" error"
- Reply: H. S.: "Re: "is protected within this context" error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 24 Mar 2005 12:07:23 -0500
H. S. wrote:
> Apparently, _Victor Bazarov_, on 24/03/05 09:44,typed:
>> [...]
>> Without seeing (and trying to compile) the original (1997) code, there is
>> no way to say what's needed. FWIW it could be that the class from which
>
>
> Well, for completeness' sake (and for any brave soul who might wanna try
> this out), the original source code can be found here:
> http://www.caam.rice.edu/software/ARPACK/arpack++.html
>
> The problem is at line 274 of include/arlnspen.h:
> if ((A->n != B->n)||(A->m != B->m)) {
To pick a nit, there is no such statement on the line 274 of
'include/srlnspen.h' in the package I just downloaded. It's on
line 674. :-)
> [...]
The cause of the trouble is potentially the way 'friend' declaration
is processed. ARluNonSymMatrix declares some specialisation of the
template ARluNonSymPencil as friends. That _should_ give some of the
xxxPencil member functions (but only the ones specialised the same
way) permission to access any members of xxxMatrix. You have to make
sure that you use the proper specialisation. Only <df,df> and are
declared friends, along with <arcomplex<df>, df> where df is either
double or float. Could it be you're specialising your xxxPencil with
something other than double or float?
V
- Next message: Victor Bazarov: "Re: How to read data from a bash pipe -- thank you"
- Previous message: Howard: "Re: How to read data from a bash pipe -- thank you"
- In reply to: H. S.: "Re: "is protected within this context" error"
- Next in thread: H. S.: "Re: "is protected within this context" error"
- Reply: H. S.: "Re: "is protected within this context" error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]