Skip to content

Commit deff114

Browse files
committed
Relax type of sum for weights
This allows constructing a WeightVec from a DataVector with NAs.
1 parent 6353c32 commit deff114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/weights.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
###### Weight vector #####
33

4-
immutable WeightVec{W<:Real,Vec<:RealVector}
4+
immutable WeightVec{W,Vec<:RealVector}
55
values::Vec
66
sum::W
77
end

0 commit comments

Comments
 (0)