You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/10/28 21:55:28 UTC

[1/6] bear commit: updated refs/heads/upstream to 1c7f37c

Repository: couchdb-bear
Updated Branches:
  refs/heads/upstream [created] 1c7f37c6f


Fix harmonic_mean behaviour when all values are 0 OR 0.0


Project: http://git-wip-us.apache.org/repos/asf/couchdb-bear/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-bear/commit/88ff370b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-bear/tree/88ff370b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-bear/diff/88ff370b

Branch: refs/heads/upstream
Commit: 88ff370b8d859d390b20f62d797bfc03369851fd
Parents: 5f99806
Author: Seb Maynard <se...@seb.so>
Authored: Thu Aug 28 10:49:32 2014 +0100
Committer: Seb Maynard <se...@seb.so>
Committed: Thu Aug 28 10:49:32 2014 +0100

----------------------------------------------------------------------
 src/bear.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-bear/blob/88ff370b/src/bear.erl
----------------------------------------------------------------------
diff --git a/src/bear.erl b/src/bear.erl
index 3a7898f..b7ae3af 100644
--- a/src/bear.erl
+++ b/src/bear.erl
@@ -208,7 +208,8 @@ arithmetic_mean(#scan_result{n=N, sumX=Sum}) ->
 geometric_mean(#scan_result{n=N, sumLog=SumLog}) ->
     math:exp(SumLog/N).
 
-harmonic_mean(#scan_result{sumInv=0}) ->
+harmonic_mean(#scan_result{sumInv=Zero}) when Zero =:= 0 orelse
+                                              Zero =:= 0.0 ->
     %% Protect against divide by 0 if we have all 0 values
     0;
 harmonic_mean(#scan_result{n=N, sumInv=Sum}) ->


[6/6] bear commit: updated refs/heads/upstream to 1c7f37c

Posted by kx...@apache.org.
Merge pull request #1 from kxepal/remove-hipe

Don't compile with native flag

Project: http://git-wip-us.apache.org/repos/asf/couchdb-bear/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-bear/commit/1c7f37c6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-bear/tree/1c7f37c6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-bear/diff/1c7f37c6

Branch: refs/heads/upstream
Commit: 1c7f37c6f62de2484797b595dbafa901225fc3d9
Parents: 0717c73 b8b7ae4
Author: Joe Williams <wi...@gmail.com>
Authored: Wed Oct 28 13:44:36 2015 -0700
Committer: Joe Williams <wi...@gmail.com>
Committed: Wed Oct 28 13:44:36 2015 -0700

----------------------------------------------------------------------
 src/bear.erl | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------



[5/6] bear commit: updated refs/heads/upstream to 1c7f37c

Posted by kx...@apache.org.
Don't compile with native flag


Project: http://git-wip-us.apache.org/repos/asf/couchdb-bear/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-bear/commit/b8b7ae41
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-bear/tree/b8b7ae41
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-bear/diff/b8b7ae41

Branch: refs/heads/upstream
Commit: b8b7ae412a020ec8df9f7db0e160add3eb4e78f1
Parents: 0717c73
Author: Alexander Shorin <kx...@gmail.com>
Authored: Fri Jul 24 03:03:48 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Wed Oct 28 20:58:38 2015 +0300

----------------------------------------------------------------------
 src/bear.erl | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-bear/blob/b8b7ae41/src/bear.erl
----------------------------------------------------------------------
diff --git a/src/bear.erl b/src/bear.erl
index b7ae3af..4bf0f17 100644
--- a/src/bear.erl
+++ b/src/bear.erl
@@ -39,7 +39,6 @@
 -record(scan_result, {n=0, sumX=0, sumXX=0, sumInv=0, sumLog, max, min}).
 -record(scan_result2, {x2=0, x3=0, x4=0}).
 
--compile([native]).
 
 get_statistics([_,_,_,_,_|_] = Values) ->
     Scan_res = scan_values(Values),


[3/6] bear commit: updated refs/heads/upstream to 1c7f37c

Posted by kx...@apache.org.
Add {modules, []} to bear.app.src

erlang.mk complains otherwise and thus cannot build a release.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-bear/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-bear/commit/07a7cf01
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-bear/tree/07a7cf01
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-bear/diff/07a7cf01

Branch: refs/heads/upstream
Commit: 07a7cf019c11212e9235eb54e88969162b3ed88a
Parents: 1192345
Author: Motiejus Jakštys <mo...@amazon.com>
Authored: Wed Dec 10 22:27:01 2014 +0100
Committer: Motiejus Jakštys <mo...@amazon.com>
Committed: Wed Dec 10 22:27:01 2014 +0100

----------------------------------------------------------------------
 src/bear.app.src | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-bear/blob/07a7cf01/src/bear.app.src
----------------------------------------------------------------------
diff --git a/src/bear.app.src b/src/bear.app.src
index 3aac9fd..d255a45 100644
--- a/src/bear.app.src
+++ b/src/bear.app.src
@@ -4,5 +4,6 @@
   {vsn, git},
   {registered, []},
   {applications, []},
-  {env, []}
+  {env, []},
+  {modules, []}
  ]}.


[2/6] bear commit: updated refs/heads/upstream to 1c7f37c

Posted by kx...@apache.org.
Merge pull request #19 from sebmaynard/master

Fix harmonic_mean behaviour when all values are 0 OR 0.0

Project: http://git-wip-us.apache.org/repos/asf/couchdb-bear/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-bear/commit/11923454
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-bear/tree/11923454
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-bear/diff/11923454

Branch: refs/heads/upstream
Commit: 119234548783af19b8ec75c879c5062676b92571
Parents: 5f99806 88ff370
Author: Joe Williams <wi...@gmail.com>
Authored: Thu Aug 28 07:46:23 2014 -0700
Committer: Joe Williams <wi...@gmail.com>
Committed: Thu Aug 28 07:46:23 2014 -0700

----------------------------------------------------------------------
 src/bear.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



[4/6] bear commit: updated refs/heads/upstream to 1c7f37c

Posted by kx...@apache.org.
Merge pull request #21 from Motiejus/modules

Add {modules, []} to bear.app.src

Project: http://git-wip-us.apache.org/repos/asf/couchdb-bear/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-bear/commit/0717c73b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-bear/tree/0717c73b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-bear/diff/0717c73b

Branch: refs/heads/upstream
Commit: 0717c73bdedd27055211f9234a6efc5588a1299c
Parents: 1192345 07a7cf0
Author: Joe Williams <wi...@gmail.com>
Authored: Wed Dec 10 14:40:27 2014 -0800
Committer: Joe Williams <wi...@gmail.com>
Committed: Wed Dec 10 14:40:27 2014 -0800

----------------------------------------------------------------------
 src/bear.app.src | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------