James Kermode

Results 120 comments of James Kermode
trafficstars

Thanks. I'll try it out locally as the CI isn't running on this branch for some reason. There might be a problem relying on `cmake` since the rest of the...

As suspected your new test does not run when I do `make test` from the `f90wrap/examples` directory. It needs to be added to the `Makefile` there, and then also to...

Thanks for the feedback and I'm glad f90wrap has been useful for you. [Binary wheels](https://pypi.org/project/f90wrap/#files) have been available for Linux and macOS for the last few release of f90wrap (since...

Please go ahead and rename the issue, good idea.

If Fortran 'owns' the array then the `allocate()` call needs to be in Fortran - easiest way to achieve this is to wrap constructor/destructor routines. However, it is possible to...

Now that I read your code more carefully, it's interesting if this possible with native `f2py`. Would be interesting to figure out where this goes wrong with `f90wrap`.

As far as I remember f90wrap doesn't treat allocatable arrays specially, maybe that's the problem.

Aha. Would you be willing to remove the `[...]` on the line `self.b[...] = b` and see if this fixes the problem? You can edit the auto-generated code after running...

Ah, ok, yes, I see that. Maybe try removing the setter routine altogether.

OK, this is a bit fiddly - I think I understand the problem at least, and I'll try to take a look myself, but won't manage it tonight. The raw...