1 /* We used to ICE because EXPAND_SUM was being used for all recursive calls
13 struct TSparseEntry
*features
;
17 get_full_feature_matrix (struct TSparse
* sparse_feature_matrix
, int num_vec
)
22 for (v
=0; v
< num_vec
; v
++)
24 for (f
=0; f
< sparse_feature_matrix
[v
].num_feat_entries
; f
++)
26 long long offs
= sparse_feature_matrix
[v
].vec_index
27 + sparse_feature_matrix
[v
].features
[f
].feat_index
;
28 fm
[offs
] = sparse_feature_matrix
[v
].features
[f
].entry
;