Finish translation of DiscreteHedging

Bug #1209714 reported by Richard Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
JQuantLib
New
Medium
Unassigned

Bug Description

Finish translation of DiscreteHedging

Tags: translation
Revision history for this message
Ueli Hofstetter (hofi85) wrote :

reorganized the code. stopped because of problems using the randomsequence generator.

Revision history for this message
Richard Gomes (frgomes) wrote :

Ueli,

Please describe what the problem was or, even better, please open another issue describing what the problem was and assign as a child of this issue.

Thanks :)

Revision history for this message
Ueli Hofstetter (hofi85) wrote :

just run the discretehedging sample. obscure error....

java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Class should be anonymous or extended from a generic class
 at org.jquantlib.math.randomnumbers.GenericPseudoRandom.makeSequenceGenerator(GenericPseudoRandom.java:133)
 at org.jquantlib.math.randomnumbers.PseudoRandom.makeSequenceGenerator(PseudoRandom.java:36)
 at org.jquantlib.examples.utils.ReplicationError.compute(ReplicationError.java:124)
 at org.jquantlib.examples.DiscreteHedging.main(DiscreteHedging.java:92)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Class should be anonymous or extended from a generic class
 at org.jquantlib.math.randomnumbers.GenericPseudoRandom.makeSequenceGenerator(GenericPseudoRandom.java:99)
 ... 3 more
Caused by: java.lang.IllegalArgumentException: Class should be anonymous or extended from a generic class
 at org.jquantlib.lang.reflect.TypeToken.getType(TypeToken.java:83)
 at org.jquantlib.lang.reflect.TypeToken.getClazz(TypeToken.java:97)
 at org.jquantlib.math.randomnumbers.GenericPseudoRandom.makeSequenceGenerator(GenericPseudoRandom.java:95)
 ... 3 more

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.