-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Follow up from Extract IDataView feedback #2296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ed one read instead of two.
Codecov Report
@@ Coverage Diff @@
## master #2296 +/- ##
=========================================
+ Coverage 66.72% 70.02% +3.3%
=========================================
Files 783 783
Lines 144003 144006 +3
Branches 16605 16605
=========================================
+ Hits 96083 100846 +4763
+ Misses 43446 38610 -4836
- Partials 4474 4550 +76
|
@@ -950,16 +949,18 @@ public static Double[] DiscountMap | |||
{ | |||
get | |||
{ | |||
if (_discountMap == null) | |||
double[] result = _discountMap; | |||
if (result == null) | |||
{ | |||
var discountMap = new Double[100]; //Hard to believe anyone would set truncation Level higher than 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hard to believe anyone would set truncation Level higher than 100 [](start = 57, length = 65)
Comments like this raise my confidence in code a lot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @eerhardt !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stephentoub left some PR comments on #2220 after it was merged. Addressing those comments here.