FDMDirector
{ // Default constuctor
{m = Mesher();
}
FDMDirector (
const Mesher& mesher){// Another constructor
m = mesher;
}
int
main(){
using namespace BlackScholesOneFactorIBVP;sigma = mySigma;
double d = (sigma)(1.0, 3.9);cout << d << endl;
FDMDirector fdir;
Vector<
double, int> c = fdir.current(); return 0;}
Hi all
I've just upgraded from Visual C++ 6.0 to Visual
C++ 7.1 (MS .Net).
When compiling my own code I could not overcome the
problem described below:
The piece of
code:
BoxMullerGaussianRng<MersenneTwisterUniformRng>
generator( MersenneTwisterUniformRng() );
Z =
generator.next().value;
generates the following error:
left of
'.next' must have class/struct/union type
type is
'overloaded-function'
When compiling the same piece of code with Visual
C++ 6.0 I didn't get any
errors, (and I can't see why the above code should
produce an error, anyway).
Can someone please help me fix this
problem?
Thanks in advance.
Luca
Berardi
__________________________________________________________________
Tiscali
Adsl 2 Mega Free, 2 Mega GRATIS!
Attiva Tiscali Adsl 2 Mega Free entro il 31
gennaio e navighi GRATIS
fino al 31 marzo 2005! In piu', anche il costo di
adesione e' GRATIS.
Scaricato il concetto? http://abbonati.tiscali.it/adsl/
-------------------------------------------------------
This
SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for
open source databases. Create drag-&-drop reports. Save time
by over 75%!
Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE
copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Quantlib-users
mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
| Free forum by Nabble | Edit this page |