Commit summary from repository starlink ------------------------------------ (Tim Jenness) smurf: Change default array ordering to (col,row) 100.0% applications/smurf/sc2da/ (Tim Jenness) smurf: use sizeof(*var) rather than sizeof(type) in sc2store 100.0% applications/smurf/sc2da/ (David Berry) smurf: Change sc2ast.c to ensure the returned SkyFrame has the correct system 100.0% applications/smurf/sc2da/ Commits from repository starlink ----------------------------- commit f6886a0c42650612827cba5368a2d03b763cdcb4 Author: Tim Jenness <[log in to unmask]> Date: Thu Sep 17 13:10:44 2009 -1000 smurf: Change default array ordering to (col,row) Previously the columns were rows and the rows were columns. This change will render smurf unable to reduce data taken prior to 2009-09-17. There is no plan for dynamically being able to adjust settings based on data. If this is a problem we will need to fix older data. applications/smurf/sc2da/sc2ast.c | 2 +- applications/smurf/sc2da/sc2store_par.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit c7c27e9efb95b066afa9e43703fbdfaadf5a7d79 Author: Tim Jenness <[log in to unmask]> Date: Thu Sep 17 09:57:04 2009 -1000 smurf: use sizeof(*var) rather than sizeof(type) in sc2store When using calloc or memcpy it's safer to use pntr = malloc( nelem * sizeof(*pntr) ); instead of pntr = malloc( nelem * sizeof(double) ); since if you change the type of pntr you do not have to remember to change the sizeof() as well. Also remove type cast from calloc return value since it's not needed. applications/smurf/sc2da/sc2store.c | 48 ++++++++++++++++---------------- 1 files changed, 24 insertions(+), 24 deletions(-) commit 9ddf6b03f3893dfcd3b7a219d714eba0b635a044 Author: David Berry <[log in to unmask]> Date: Thu Sep 17 14:14:40 2009 +0100 smurf: Change sc2ast.c to ensure the returned SkyFrame has the correct system applications/smurf/sc2da/sc2ast.c | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-)