Skip to content

Commit

Permalink
Disable open index check
Browse files Browse the repository at this point in the history
  • Loading branch information
benruijl committed Jan 28, 2025
1 parent c88b402 commit 08d8735
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tensors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,8 @@ for ff in f {
subgraphs.push((node, sub_connections));
}

if subgraphs.iter().any(|x| {
// FIXME: check used instead
/* if subgraphs.iter().any(|x| {
x.1.iter()
.zip(&subgraphs[0].1)
.any(|(a, b)| a.0.len() != b.0.len())
Expand All @@ -541,7 +542,7 @@ for ff in f {
"All components of {} must have the same open indices",
self.printer(PrintOptions::file())
));
}
}*/

let node = g.add_node(TensorGraphNode::Add);

Expand Down

0 comments on commit 08d8735

Please sign in to comment.