Skip to content

Commit 91f2559

Browse files
committed
style: minor linting bug fixed
Signed-off-by: lamhoangtung <[email protected]>
1 parent 9e25845 commit 91f2559

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/conversion/conversion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@ bool VerifyConverterSupportForBlock(const torch::jit::Block* b) {
489489

490490
for (const auto n : b->nodes()) {
491491
auto schema = n->maybeSchema();
492-
if (schema){
493-
for (const auto& x: unsupported_ops) {
492+
if (schema) {
493+
for (const auto& x : unsupported_ops) {
494494
if (x.first == schema->operator_name()) {
495495
unsupported_msg << " Unsupported operator: " << *schema << std::endl;
496496
unsupported_msg << trtorch::core::util::GetPyTorchSourceCode(n) << std::endl;

0 commit comments

Comments
 (0)