Use of legacy rng #1082
-
It appears that yalmip sometimes calls a legacy version of
The error that is thrown:
I'm not supplying code that define inputs to the This isn't a blocker for me, because I can change all the calls in iqcToolbox from |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hmm, that is weird. The natural candidate for issues would be gen_rand_hash and rand_hash (which are super core function which I would be extremely hesitant to touch, don't ask me why there are two...). If rng fails, it is coded to switch to a method using rand, with seeding, but for that rand call to happen the rng code should not work elsewhere. Hence my best bet for a debug would be a break on line 20 in gen_rand_hash and line 28 of rand_hash, to understand why it errors in the rng code and switches to rand. |
Beta Was this translation helpful? Give feedback.
Hmm, that is weird. The natural candidate for issues would be gen_rand_hash and rand_hash (which are super core function which I would be extremely hesitant to touch, don't ask me why there are two...). If rng fails, it is coded to switch to a method using rand, with seeding, but for that rand call to happen the rng code should not work elsewhere.
Hence my best bet for a debug would be a break on line 20 in gen_rand_hash and line 28 of rand_hash, to understand why it errors in the rng code and switches to rand.