Skip to content

Commit 57f4f98

Browse files
James Reedfacebook-github-bot
authored andcommitted
Fix borked SourceRanges
Summary: Pull Request resolved: #21109 Reviewed By: zdevito Differential Revision: D15551392 Pulled By: jamesr66a fbshipit-source-id: 4f29214049b8feced0e740f84007b5751703ee20
1 parent 67291ba commit 57f4f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/csrc/jit/ir.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ void Node::destroy() {
994994
}
995995

996996
void Node::cloneFrom(Node* s) {
997-
s->source_range_ = s->source_range_;
997+
source_range_ = s->source_range_;
998998
if (s->scope_ && !s->scope_->isBlank()) {
999999
scope_ = s->scope_;
10001000
}

0 commit comments

Comments
 (0)