nikhilgupta10 / GridLAB-D

Other
1 stars 0 forks source link

#549 Random Property isn't read in properly, #2295

Closed nikhilgupta10 closed 8 years ago

nikhilgupta10 commented 8 years ago

I'm attaching a file that adds a random type property to class house called uniform_rv. Within the object I have

uniform_rv ype:uniform(0,1)\;

When I run the file I recieve this error message

ERROR [2000-01-01 00:00:00 PST] : exec halted: _random_value(type=2147483647,...); type is not valid

This message is found within the _random_value() function inside of random.c. That message comes up when the type isn't one of the built in distributions.

,

nikhilgupta10 commented 8 years ago

nikhilgupta10 imported these comments from Sourceforge: The user dchassin does not exist anymore. Therefore assigning this to afisher1. "andyfisher": * attachment _test_core_randomproperty.glm added ,

"dchassin": * status changed from new to closed

This was caused by a severe case of copyitis that is fixed by changeset:2819, which also fixes a severe heap smashing problem that was observed under similar test conditions.

,