Skip to content

Commit

Permalink
categorize histograms can handle null inputs
Browse files Browse the repository at this point in the history
bump up version to 1.0.20
  • Loading branch information
kx79wq committed Apr 2, 2021
1 parent a77c8a0 commit 962d691
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions core/deploy-scala-2.10.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

<name>histogrammar</name>
<description>Histogram abstraction to simplify complex aggregations in distributed environments.</description>
<url>http://histogrammar.org</url>
<url>https://histogrammar.github.io/histogrammar-docs</url>
<inceptionYear>2016</inceptionYear>

<groupId>org.diana-hep</groupId>
<groupId>io.github.histogrammar</groupId>
<artifactId>histogrammar_2.10</artifactId>
<version>1.0.4</version>
<version>1.0.20</version>
<packaging>jar</packaging>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion core/deploy-scala-2.11.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>io.github.histogrammar</groupId>
<artifactId>histogrammar_2.11</artifactId>
<version>1.0.11</version>
<version>1.0.20</version>
<packaging>jar</packaging>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion core/deploy-scala-2.12.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>io.github.histogrammar</groupId>
<artifactId>histogrammar_2.12</artifactId>
<version>1.0.11</version>
<version>1.0.20</version>
<packaging>jar</packaging>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>io.github.histogrammar</groupId>
<artifactId>histogrammar_${scala.binary.version}</artifactId>
<version>1.0.11</version>
<version>1.0.20</version>
<packaging>jar</packaging>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ Unlike [[org.dianahep.histogrammar.SparselyBin]], this aggregator has the potent
def fill[SUB <: Datum](datum: SUB, weight: Double = 1.0) {
checkForCrossReferences()
if (weight > 0.0) {
val q = quantity(datum)

val qd = quantity(datum)
val q = if (qd == null) "NaN" else qd
if (!(bins contains q))
bins(q) = value.zero
bins(q).fill(datum, weight)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<groupId>io.github.histogrammar</groupId>
<artifactId>histogrammar-parent</artifactId>
<packaging>pom</packaging>
<version>1.0.11</version>
<version>1.0.20</version>

<licenses>
<license>
Expand Down
2 changes: 1 addition & 1 deletion sparksql/deploy-scala-2.10.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>org.diana-hep</groupId>
<artifactId>histogrammar-sparksql_2.10</artifactId>
<version>1.0.4</version>
<version>1.0.20</version>
<packaging>jar</packaging>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion sparksql/deploy-scala-2.11.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>io.github.histogrammar</groupId>
<artifactId>histogrammar-sparksql_2.11</artifactId>
<version>1.0.11</version>
<version>1.0.20</version>
<packaging>jar</packaging>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion sparksql/deploy-scala-2.12.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>io.github.histogrammar</groupId>
<artifactId>histogrammar-sparksql_2.12</artifactId>
<version>1.0.11</version>
<version>1.0.20</version>
<packaging>jar</packaging>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion sparksql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>io.github.histogrammar</groupId>
<artifactId>histogrammar-sparksql_${scala.binary.version}</artifactId>
<version>1.0.11</version>
<version>1.0.20</version>
<packaging>jar</packaging>

<licenses>
Expand Down

0 comments on commit 962d691

Please sign in to comment.