simvisage/spirrid — Issue #3: one random variable problem
Author: kelidas
Created: 2012-03-06 22:01:34+00:00
State: open

If SPIRRID gets one random variable as input, than return nonsenses for codegen_type = 'c'.

Solution:
I think that it can be fixed here (file code_gen_compiled.py):
* theta_arrs: map(lambda x: x.flatten(), rv_getter(theta))
* dG_arrs: return map(lambda x: x.flatten(), rv_getter(dG_ogrid))
fix mapping