The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Basic/LeastSquareFit.pm 11
Basic.pm 11
Changes 08
MANIFEST 89
META.json 55
META.yml 88
t/05_load_them.t 01
t/07_vector.t 01
t/08_cvec.t 01
t/08_filter_outliers.t 01
t/09_test_importer_vars_debug.t 01
t/09_test_importer_vars_debug0.t 01
t/09_test_importer_vars_debug1.t 01
t/09_test_importer_vars_ipres.t 01
t/09_test_importer_vars_ipres1.t 01
t/09_test_importer_vars_ipres2.t 01
t/09_test_importer_vars_nofill.t 01
t/09_test_importer_vars_nofill0.t 01
t/09_test_importer_vars_nofill1.t 01
t/09_test_importer_vars_toler.t 01
t/09_test_importer_vars_toler1.t 01
t/10_mean.t 01
t/10_median.t 01
t/10_mode.t 01
t/10_moving_average.t 01
t/15_covariance.t 01
t/15_variance.t 01
t/17_stddev.t 01
t/19_combo.t 01
t/20_LSF.t 01
t/20_correlation.t 01
t/25_correlate_computed.t 01
t/30_empty_constructor_tests.t 01
t/53_co_persistance.t 01
t/53_persistance.t 01
t/54_doc_example.t 01
t/60_bigfloats.t 01
t/75_filtered_missings.t 01
t/75_missing_correlated.t 01
t/locale_hack.pm 030
40 files changed (This is a version diff) 2395
@@ -50,7 +50,7 @@ sub _recalc {
     delete $this->{beta};
 
     my $vrx = $this->{vrx}->query; return unless defined $vrx; return unless $vrx > 0;
-    my $mnx = $this->{mnx}->query; return unless defined $mnx; return unless $mnx > 0;
+    my $mnx = $this->{mnx}->query; return unless defined $mnx;
     my $mny = $this->{mny}->query; return unless defined $mny;
     my $cov = $this->{cov}->query; return unless defined $cov;
 
@@ -7,7 +7,7 @@ use Carp;
 
 use Number::Format;
 
-our $VERSION = '1.6607';
+our $VERSION = '1.6611';
 our $fmt = new Number::Format;
 
 our( $NOFILL, $DEBUG, $IPRES, $TOLER, $UNBIAS );
@@ -1,3 +1,11 @@
+1.6611: Wed Dec 17 2014
+   - SREZIC@cpan.org suggested LC_ALL=C for all tests
+   - using Number::Format vars instead of LC_ALL to fix tests
+   - yeah, that's not going to work... using setlocale()
+
+1.6608: Fri Jan 10 2014
+   - bug in LSF
+
 1.6607: Mon Jan 23 2012
    - forgot to update the copyright to 2012
 
@@ -1,5 +1,7 @@
 .perlcriticrc
 Basic.pm
+Basic/_OneVectorBase.pm
+Basic/_TwoVectorBase.pm
 Basic/ComputedVector.pm
 Basic/Correlation.pm
 Basic/Covariance.pm
@@ -10,13 +12,10 @@ Basic/Mode.pm
 Basic/StdDev.pm
 Basic/Variance.pm
 Basic/Vector.pm
-Basic/_OneVectorBase.pm
-Basic/_TwoVectorBase.pm
 Changes
-MANIFEST
-Makefile.PL
-README
 lib/Statistics/Basic.pod
+lib/Statistics/Basic/_OneVectorBase.pod
+lib/Statistics/Basic/_TwoVectorBase.pod
 lib/Statistics/Basic/ComputedVector.pod
 lib/Statistics/Basic/Correlation.pod
 lib/Statistics/Basic/Covariance.pod
@@ -27,8 +26,9 @@ lib/Statistics/Basic/Mode.pod
 lib/Statistics/Basic/StdDev.pod
 lib/Statistics/Basic/Variance.pod
 lib/Statistics/Basic/Vector.pod
-lib/Statistics/Basic/_OneVectorBase.pod
-lib/Statistics/Basic/_TwoVectorBase.pod
+Makefile.PL
+MANIFEST
+README
 t/05_load_them.t
 t/07_vector.t
 t/08_cvec.t
@@ -52,8 +52,8 @@ t/15_covariance.t
 t/15_variance.t
 t/17_stddev.t
 t/19_combo.t
-t/20_LSF.t
 t/20_correlation.t
+t/20_LSF.t
 t/25_correlate_computed.t
 t/30_empty_constructor_tests.t
 t/53_co_persistance.t
@@ -63,6 +63,7 @@ t/60_bigfloats.t
 t/75_filtered_missings.t
 t/75_missing_correlated.t
 t/critic.t
+t/locale_hack.pm
 t/pod.t
 t/pod_coverage.t
 META.yml                                 Module YAML meta-data (added by MakeMaker)
@@ -4,7 +4,7 @@
       "unknown"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112150",
+   "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.143240",
    "keywords" : [
       "stats",
       "statistics",
@@ -29,18 +29,18 @@
    "prereqs" : {
       "build" : {
          "requires" : {
-            "ExtUtils::MakeMaker" : 0
+            "ExtUtils::MakeMaker" : "0"
          }
       },
       "configure" : {
          "requires" : {
-            "ExtUtils::MakeMaker" : 0
+            "ExtUtils::MakeMaker" : "0"
          }
       },
       "runtime" : {
          "requires" : {
             "Number::Format" : "1.42",
-            "Scalar::Util" : 0,
+            "Scalar::Util" : "0",
             "perl" : "5.006"
          }
       }
@@ -51,5 +51,5 @@
          "url" : "http://github.com/jettero/statistics--basic"
       }
    },
-   "version" : "1.6607"
+   "version" : "1.6611"
 }
@@ -3,11 +3,11 @@ abstract: unknown
 author:
   - unknown
 build_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
 configure_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112150'
+generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.143240'
 keywords:
   - stats
   - statistics
@@ -17,16 +17,16 @@ keywords:
 license: open_source
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: Statistics-Basic
 no_index:
   directory:
     - t
     - inc
 requires:
-  Number::Format: 1.42
-  Scalar::Util: 0
-  perl: 5.006
+  Number::Format: '1.42'
+  Scalar::Util: '0'
+  perl: '5.006'
 resources:
   repository: http://github.com/jettero/statistics--basic
-version: 1.6607
+version: '1.6611'
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic qw(:all ignore_env);
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic qw(:all ignore_env);
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic qw(:all ignore_env);
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all debug);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all debug=0);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all debug=1);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all ipres);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all ipres=1);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all ipres=2);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all nofill);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all nofill=0);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all nofill=1);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 
 BEGIN { $ENV{TOLER} = 1 }
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all toler=0);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic;
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic qw(:all);
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic qw(:all ignore_env);
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic qw(:all nofill);
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic;
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic;
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic;
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic qw(:all);
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic;
@@ -1,4 +1,5 @@
 use strict;
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all toler=0.000_001);
 
@@ -1,3 +1,4 @@
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic qw(:all toler=0.05);
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic qw(:all ignore_env);
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic qw(:all);
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
    use Statistics::Basic qw(:all);
 
    my $v1 = vector(1,2,3,4,5);
@@ -1,3 +1,4 @@
+use t::locale_hack;
 use strict;
 use Test;
 use Statistics::Basic qw(:all toler=0.000_001);
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all);
 
@@ -1,4 +1,5 @@
 
+use t::locale_hack;
 use Test;
 use Statistics::Basic qw(:all);
 
@@ -0,0 +1,30 @@
+
+# NOTE: I couldn't reproduce the locale issues reported in 
+# 
+# https://rt.cpan.org/Ticket/Display.html?id=100943&results=5e852469797988f08410e6f642a6a5c8
+# http://www.cpantesters.org/cpan/report/88d524a8-6322-11e4-b29a-6ad5dfbfc7aa
+# 
+# I was trying things like LC_ALL=de_DE.utf8; sudo locale-gen de_DE.utf8
+# and it was messing up my vim sessions, but not the tests …
+
+use strict;
+no warnings;
+
+# from SREZIC commit:
+# https://github.com/eserte/statistics--basic/commit/5a4b4c434a53e4315c74ab120ca82498f54987a0
+
+    use Statistics::Basic ();
+    # Make sure Number::Format is using a decimal point.
+    # See https://rt.cpan.org/Ticket/Display.html?id=100943
+    $Statistics::Basic::fmt = Number::Format->new(-decimal_point => '.');
+
+
+# another SREZIC suggestion, which may not be as portable
+#   use POSIX qw(setlocale LC_NUMERIC);
+#   setlocale LC_NUMERIC, (
+#       $ENV{BREAK_TESTS_WITH_GERMAN}
+#       ? "de_DE"
+#       : "C"
+#   );
+
+1;