It doesn't work either. But bear in mind that this is a simplification. That 
line will get replaced by somethin like:
    
    
    for row in `obj_hess`:
      for item in row:
        values[idx] = obj_factor * item
        idx += 1
    
    Run

Which is not working.

It is very strange, because I am using something similar 
[here](https://github.com/mantielero/ipopt.nim/blob/9967dc72130a45e8d6a675439f174cf24a01c941/src/ipopt.nim#L419)
 and it is working. That is what is making me thing that this is an error a not 
a bug.

Reply via email to