From: Derek L. <la...@us...> - 2016-08-29 17:25:04
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "pdl". The branch, clang_warnings has been updated via 3bf3d8406d0aff65286602f18b35e63cba97a5a6 (commit) via 30b6dec8179e0d277d902595103afa613b045d1b (commit) via f9fdd4d77f6d9addbb21922ff3f1934d11d54c2c (commit) via f02b4d992b75c43f62bb500253df18812eecac39 (commit) via 88006c41dcc9db5e329836cf3b3a17f555bae414 (commit) via 79f1ec4df696160381d78f40c0f8d767140e5e47 (commit) via 76a64e90125587227d8a3e8c63d8c5cae099abf7 (commit) via a36b8a8bdc1312d4fc4318f267383faf259ae8c2 (commit) via 99f4aca1176ad3bd93cd44644d0d6e190f9c218b (commit) via 57b2fda7edcccf30aa92dc9f05e6c6d02ae60732 (commit) via c9e7ea503cbec5679ad3e36748707f184fc333b3 (commit) via b7554358232227ec58c24c0da534aee6f36123d9 (commit) via 4509c79e5308801eef5de7cbab5d1c132d50103e (commit) via dcc801b7a27d20740458a22dbc71559e1403f782 (commit) via 858e1bbf3770b012cc552c3ded76fefde4dd4c6b (commit) via c78495b0a1b5d27eba0e8be03e953be2c5387ca6 (commit) from f51309ea89eb03df7d22a34ed8d3b5fdd23bae06 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 3bf3d8406d0aff65286602f18b35e63cba97a5a6 Author: Derek Lamb <la...@us...> Date: Mon Aug 29 11:01:33 2016 -0600 Manually add 2 slatec function prototypes to the header file Most prototypes get inserted into SlatecProtos.h by defslatec. But polfit_ and dpolft_ do not, so they need to be added manually. commit 30b6dec8179e0d277d902595103afa613b045d1b Author: Derek Lamb <la...@us...> Date: Mon Aug 29 10:34:54 2016 -0600 Get double from anyval in pdlapi.c's pdl_dump_fixspace() This silences a compiler warning about a printf wanting double ("%f") but we passed an Anyval. commit f9fdd4d77f6d9addbb21922ff3f1934d11d54c2c Author: Derek Lamb <la...@us...> Date: Mon Aug 29 00:18:48 2016 -0600 Choose the correct absolute value function for the datatype in fft.pd. fabs is fine for doubles, but not for anything else: this inserts the correct function (abs, labs, llabs, etc) based on the datatype used in the complex division. I hope. commit f02b4d992b75c43f62bb500253df18812eecac39 Author: Derek Lamb <la...@us...> Date: Sun Aug 28 23:12:33 2016 -0600 Avoid an abs() in pdlapi.c. This was motivated because we should have been using labs or llabs, the correct function to call was system-dependent. This avoides all that by replacing the abs() call with multiplication by the variable's sign. commit 88006c41dcc9db5e329836cf3b3a17f555bae414 Author: Derek Lamb <la...@us...> Date: Wed Jun 8 22:45:14 2016 -0600 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. commit 79f1ec4df696160381d78f40c0f8d767140e5e47 Author: Derek Lamb <la...@us...> Date: Fri Aug 5 10:47:57 2016 -0600 Allow wcols to obey FORMAT option. The code to determine whether the output size agreed with the format string size was only activated when the format string was input as the first argument, not in the options hash. This change activates it for both cases. Added some tests as well. commit 76a64e90125587227d8a3e8c63d8c5cae099abf7 Author: Derek Lamb <la...@us...> Date: Thu Aug 4 12:22:05 2016 -0600 Heavily comment svd.c. Some comments taken from Nash (1990), some are my own to aid in understanding this algorithm. commit a36b8a8bdc1312d4fc4318f267383faf259ae8c2 Author: Derek Lamb <la...@us...> Date: Thu Aug 4 12:12:23 2016 -0600 Add clarifying documentation and tests for svd(). The example in the docs was using the matrix v directly instead of the transpose. Doesn't matter for 2x2 matrices, but does for larger. Hopefully this clears things up. I also added some tests for svd: square matrices, and rectangular matrices where m>n and m<n. commit 99f4aca1176ad3bd93cd44644d0d6e190f9c218b Author: Zakariyya Mughal <zak...@gm...> Date: Sun Jul 10 16:18:35 2016 -0500 Fixes badval propagation to support all badval configurations The changes in <https://github.com/PDLPorters/pdl/pull/188> broke the build for all cases of `BADVAL_USENAN` xor `BADVAL_PER_PDL`. This was because the checking for badvalues when copying in `pdl_kludge_copy_*` did not take into account these variations in accessing and setting the badvalue. For example, a simple comparison using `==` is not valid when NaN values are being compared. Here we need to use `!finite(...)` to make the comparison if the type can use NaN values. commit 57b2fda7edcccf30aa92dc9f05e6c6d02ae60732 Author: Derek Lamb <la...@us...> Date: Mon Jun 27 15:39:06 2016 -0600 Change pdl_barf to PDL->pdl_barf in ufunc.pd. Hopefully this will compile on Strawberry. Not sure why the original worked OK on my Mac w/ clang. commit c9e7ea503cbec5679ad3e36748707f184fc333b3 Author: Derek Lamb <la...@us...> Date: Mon Jun 27 14:41:16 2016 -0600 Prevent segfault when qsort etc called with a scalar argument If a user mistakenly passed a perl scalar argument to qsort and its ilk, the SV would be mistaken for a piddle and passed to the underlying generic_qsort etc routines. Not surprisingly, those routine's array index tricks would cause a segfault. This commit causes qsort, qsorti, qsortvec, and qsortveci to barf if an argument is passed with incorrect dimensions. Some care is taken to allow trivial sorts. 2 tests for each routine have been added, and some existing tests labeled. commit b7554358232227ec58c24c0da534aee6f36123d9 Author: Craig DeForest <zowie@Clio.local> Date: Mon Jun 13 00:32:29 2016 -0600 fix skip count for no-badvals case commit 4509c79e5308801eef5de7cbab5d1c132d50103e Author: Craig DeForest <zowie@Clio.local> Date: Mon Jun 13 00:06:20 2016 -0600 Add documentation to Core.pm POD; fix test count in constructor.t. commit dcc801b7a27d20740458a22dbc71559e1403f782 Author: Craig DeForest <zowie@Clio.local> Date: Sun Jun 12 23:47:22 2016 -0600 remove extraneous test from pdlcore.c.PL; add BAD value tests to constructor.t commit 858e1bbf3770b012cc552c3ded76fefde4dd4c6b Author: Craig DeForest <zowie@Clio.local> Date: Sun Jun 12 23:08:16 2016 -0600 initial attempt to include BAD value propagation. No tests yet. commit c78495b0a1b5d27eba0e8be03e953be2c5387ca6 Author: Craig DeForest <zo...@dh...> Date: Tue Jun 7 09:17:33 2016 -0600 64 bit fix (bug #421) ----------------------------------------------------------------------- Summary of changes: Basic/Core/Core.pm | 4 ++ Basic/Core/Types.pm.PL | 2 +- Basic/Core/pdlapi.c | 4 +- Basic/Core/pdlcore.c.PL | 105 +++++++++++++++++++++++++----------- Basic/Core/pdlcore.h.PL | 2 +- Basic/MatrixOps/matrixops.pd | 47 +++++++++++----- Basic/MatrixOps/svd.c | 124 ++++++++++++++++++++++++++++++++++-------- Basic/Ufunc/ufunc.pd | 20 +++++++- IO/FITS/FITS.pm | 49 +++++++---------- IO/Misc/misc.pd | 18 ++++--- Lib/FFT/fft.pd | 19 ++++++- Lib/GSL/RNG/gsl_random.pd | 2 + Lib/Slatec/slatec.pd | 3 + t/constructor.t | 32 +++++++++--- t/fits.t | 21 +++++++- t/matrixops.t | 46 ++++++++++++++-- t/misc.t | 29 ++++++++-- t/ufunc.t | 30 ++++++++-- 18 files changed, 422 insertions(+), 135 deletions(-) hooks/post-receive -- pdl |