Closed tvandera closed 6 years ago
It seems that cython does not support C++ static fields. So I used a workaround that substitutes variable name with a provided string when cython generates .cpp
file. Maybe there is another way to solve this problem. Feel free to propose any ideas.
So currently smurff
function looks like this:
There is still a problem related to default noise values. This was already mentioned in issue https://github.com/ExaScience/smurff/issues/103#issuecomment-372232753.
I suppose we can consider this issue closed. Python interface now uses smurff::Config::
static fields as default values for parameters.
in
smurff.pyx
use defaults from statics in e.g.smurff::Config::