|
@@ -197,7 +197,8 @@ pub fn taggedvardict_to_vardict(vd: &TaggedVarDict) -> VarDict {
|
|
|
/// Collect the list of [`Point`](TaggedIdent::Point)s tagged `cind`
|
|
/// Collect the list of [`Point`](TaggedIdent::Point)s tagged `cind`
|
|
|
/// from the given [`TaggedVarDict`]
|
|
/// from the given [`TaggedVarDict`]
|
|
|
pub fn collect_cind_points(vars: &TaggedVarDict) -> Vec<Ident> {
|
|
pub fn collect_cind_points(vars: &TaggedVarDict) -> Vec<Ident> {
|
|
|
- let mut cind_points: Vec<Ident> = vars.values()
|
|
|
|
|
|
|
+ let mut cind_points: Vec<Ident> = vars
|
|
|
|
|
+ .values()
|
|
|
.filter_map(|ti| {
|
|
.filter_map(|ti| {
|
|
|
if let TaggedIdent::Point(TaggedPoint {
|
|
if let TaggedIdent::Point(TaggedPoint {
|
|
|
is_cind: true,
|
|
is_cind: true,
|