Menu

#18 Wrong type declarations in src/quadpack.lisp

closed-fixed
nobody
None
5
2012-04-25
2012-03-30
No

Array IWORK is passed to functions that expect an array of F2CL-LIB:INTEGER4, but in initialization its element type is specified as (SIGNED-BYTE 32),
In SBCL x64 F2CL-LIB:INTEGER4 and (SIGNED-BYTE 32) are different types.

Ilya

Discussion

  • Ilya Perminov

    Ilya Perminov - 2012-03-30

    A patch changing (SIGNED-BYTE 32) to F2CL-LIB:INTEGER4

     
  • Raymond Toy

    Raymond Toy - 2012-04-23

    Thanks. That's an oversight in the f2cl macros.l where no one bothered to put in support for sbcl where integer4 should be (signed-byte 32).

    However, with the upcoming ffi support, we can probably simply things and get rid of the translated quadpack routines. I'll have to think whether we want to do that or not.

     
  • Raymond Toy

    Raymond Toy - 2012-04-25
    • status: open --> closed-fixed
     
  • Raymond Toy

    Raymond Toy - 2012-04-25

    Fixed. Use f2cl-lib:integer4 in quadpack.lisp and make f2cl-lib:integer4 be the same as (signed-byte 32).