Skip to content

Conversation

@roryyorke
Copy link

The sb10ad entry in synthesis.pyf did not infer ldac, ldab, ldac, ldad values from ac, bc, cc, dc, but instead looked like

    integer intent(hide), depend(ak) :: ldak=shape(ak,0)
    [... lines omitted]
    integer intent(hide), depend(ac) :: ldak=shape(ac,0)

The last line should be ldac, not ldak; the same bug is present for ldbc, etc.

I'm don't know enough about f2py to know if it should have raised a warning or error in this case.

Added a simple test for this case.

The fix is a bit of a guess, but after this the signature matches that
expected by synthesis.py's use of _wrapper.sb10ad, and a simple test
case works.
Simple-as-possible test, with some reference values from Octave.
jgoppert added a commit that referenced this pull request Mar 10, 2016
@jgoppert jgoppert merged commit 234447c into jgoppert:master Mar 10, 2016
@roryyorke roryyorke deleted the sb10ad-fix-pyf branch June 27, 2016 16:57
cwrowley pushed a commit to cwrowley/Slycot that referenced this pull request Dec 26, 2016
Use conda for building (and consequently drop Py 2.6, 3.2, add 3.4, 3.5).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants