Éric Thiébaut

Results 28 comments of Éric Thiébaut

Silly me, I forgot to change the tests too (done in 7b35c05a61bde0540e36afce1c9817723141e824). I should have made 2 different PRs (one for passing structures by address, the other for the alternative...

> Why do we use pointers here for `problem` and `options`? Because passing them by value is not necessary and is a waste of stack space. It is possible but...

Honestly, the `const` qualifier in function prototypes is only useful for arrays and pointers to indicate that the corresponding content is not modified by the called function. Otherwise, it indicates...

@zaikunzhang Except that when there is a single `const` for a pointer the user has to wonder whether it is the value of the pointer that remains constant (which is...

Hello @zaikunzhang, This is not my point and if you look in the `PRIMA.jl` interface, you'll see that there are no such ambiguity about who calls who because the pre-processing...

@zaikunzhang, I can see that we have different understandings, we may have a chat if you want. Where are implemented the pre-/post-processing you are mentioning? The discussion you pointed does...

It is clear that all these are necessary but it would be much more consistent and logical if all the pre/post processings be done by the code that every langage...

OK then I think that this PR (https://github.com/libprima/prima/pull/189) may be a better solution.