Back to the main page.

Bug 462 - there's mixed usage of the nanXXX and nan_XXX throughout the code

Status CLOSED FIXED
Reported 2011-01-31 14:03:00 +0100
Modified 2011-02-02 13:26:10 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Jan-Mathijs Schoffelen - 2011-01-31 14:03:43 +0100


Jan-Mathijs Schoffelen - 2011-01-31 14:05:01 +0100

As far as I can see; these functions have the same functionality. The only thing that may be different is that the nan_XXX throw a warning when dividing by zero. To do: -make the functionality of nanXXX identical to nan_XXX -replace all calls to nan_XXX by calls to nanXXX (this is coincident with standard matlab) -remove nan_XXX from the repository


Jan-Mathijs Schoffelen - 2011-02-01 10:11:40 +0100

calls to nan_sum, nan_mean and nan_std have been replaced by calls to the respective nanXXX functions after checking the functionality differences. nan_XXX were removed from the svn-repository