You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/07/31 23:10:20 UTC

[29/30] bear commit: updated refs/heads/import-master to 5f99806

Clean up whitespace


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

Branch: refs/heads/import-master
Commit: 0a1d531802cc589138301347701c40502de03edd
Parents: f5e777d
Author: Benjamin Anderson <b...@banjiewen.net>
Authored: Sat Nov 16 18:24:02 2013 -0800
Committer: Benjamin Anderson <b...@banjiewen.net>
Committed: Sat Nov 16 18:24:35 2013 -0800

----------------------------------------------------------------------
 src/bear.erl | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-bear/blob/0a1d5318/src/bear.erl
----------------------------------------------------------------------
diff --git a/src/bear.erl b/src/bear.erl
index fe79fae..3a7898f 100644
--- a/src/bear.erl
+++ b/src/bear.erl
@@ -118,11 +118,12 @@ get_null_statistics_subset([], Acc) ->
     lists:reverse(Acc).
 
 calc_steps(Items) ->
-    lists:foldl(fun({I,_},Acc) ->
-			erlang:max(level(I), Acc);
-		   (I,Acc) ->
-			erlang:max(level(I), Acc)
-		end, 1, Items).
+    lists:foldl(
+        fun({I,_},Acc) ->
+            erlang:max(level(I), Acc);
+           (I,Acc) ->
+            erlang:max(level(I), Acc)
+    end, 1, Items).
 
 level(standard_deviation) -> 3;
 level(variance          ) -> 3;