Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] CheckIn:Fix a bug which causes WeightAve calculate incorrectly when meet null values in Head & 2.1.2 branch.

-          Summary:

CheckIn: Fix a bug which causes WeightedAve calculate error when meet NULL values.


- Bugzilla Bug (s) Resolved:
No


- Description:
Three changes are made so far:

1.When NULL value is meet, omit its weight

2.Fix an data type declaration error in original code. A variable should be declared as Double rather than integer.

3.Add some test cases


- Tests Description:
No.


- Notes to Build Team:

- Notes to Developers:

- Notes to QA: 
 

 

- Notes to Documentation:  

- Files Edited:
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/aggregation/TotalWeightedAve.java"

"/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/aggregation/TotalTest.java"

 

 

 

 


Back to the top