Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PDLPorters/pdl
base: e0c13c8bdbbd
Choose a base ref
...
head repository: PDLPorters/pdl
compare: 2309b32aef50
Choose a head ref
  • 10 commits
  • 11 files changed
  • 1 contributor

Commits on Aug 29, 2016

  1. Copy the full SHA
    ffd3eda View commit details
    Browse the repository at this point in the history
  2. Change regexp in GD.pd's XS generation to handle two-worded C types

    The original regexp took 'unsigned short *' and captured only the
    'short'. This changed allows it to capture 'unsigned short'.
    d-lamb committed Aug 29, 2016
    Copy the full SHA
    c60b19c View commit details
    Browse the repository at this point in the history
  3. Use fabs instead of abs in PDL::Fit::Gaussian.

    Since fitgauss1d[r] has GenericTypes=>[D], it is safe to assume
    that everything will be Double, so using fabs is preferred.
    d-lamb committed Aug 29, 2016
    Copy the full SHA
    2252567 View commit details
    Browse the repository at this point in the history
  4. Add PDL_IND and PDL_LL to 2 case switch statements in gsl_random.pd

    The switch statement was written long before those datatypes were
    in PDL, and the compiler was nicely complaining about their absense.
    d-lamb committed Aug 29, 2016
    Copy the full SHA
    3a00028 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    c4bc23d View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    d080356 View commit details
    Browse the repository at this point in the history
  7. Fix namespace collision for 'warn' in gsl_integ.pd

    Perl's 'warn' function had been undef'd because of problems with the gsl code's
    'warn' variable. But PDL::PP inserts code into XS files that calls
    Perl's 'warn' function.  To avoid this I removed the #undef warn and
    changed the gsl variable name from warn to gslwarn.
    d-lamb committed Aug 29, 2016
    Copy the full SHA
    8a1ec1b View commit details
    Browse the repository at this point in the history
  8. Add default 'int' return type to Slatec function prototypes.

    Some function prototypes that get generated into SlatecProtos.h
    have return types float or double, but most were just missing, and
    the compiler assumed them to be int. The function defs all do
    return int, so I just made it explicit.
    d-lamb committed Aug 29, 2016
    Copy the full SHA
    4abcf86 View commit details
    Browse the repository at this point in the history
  9. HDF: add mfhdf.h to list of #included header files.

    A few functions (SDstart ... SDend) did not have function prototypes
    in hdf.h, this other header file was necessary.
    d-lamb committed Aug 29, 2016
    Copy the full SHA
    7e6ca4b View commit details
    Browse the repository at this point in the history
  10. add PDL_INVALID to the pdl_datatypes enum list.

    The list is generated by Types.pm.PL, but gets put into pdl.h and
    pdlsimple.h. This was motivated by code in Bad.c that assigns to
    a variable of type pdl_datatypes the value -1 (in some error condition
    that is unlikely to be reached). This jives with the ANYVAL_FROM_CTYPE
    macro in pdl.h.  Thanks to Chris Marshall and David Mertens for the
    pointers.  See pdl-devel 2016-05-05 discussion.
    d-lamb committed Aug 29, 2016
    Copy the full SHA
    2309b32 View commit details
    Browse the repository at this point in the history