Skip to content

Commit 11ac11d

Browse files
committed
refactor: apply linting
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 1ad2fc4 commit 11ac11d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/util/util.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ namespace torch_tensorrt {
55
namespace tests {
66
namespace util {
77

8-
9-
bool almostEqual(const at::Tensor& a, const at::Tensor& b, float threshold, float atol=1e-8, float rtol=1e-5) {
8+
bool almostEqual(const at::Tensor& a, const at::Tensor& b, float threshold, float atol = 1e-8, float rtol = 1e-5) {
109
LOG_GRAPH(a << std::endl << b << std::endl);
1110
auto a_float = a.toType(at::kFloat);
1211
auto b_float = b.toType(at::kFloat);

tests/util/util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace torch_tensorrt {
1111
namespace tests {
1212
namespace util {
1313

14-
bool almostEqual(const at::Tensor& a, const at::Tensor& b, float threshold, float atol=1e-8, float rtol=1e-5);
14+
bool almostEqual(const at::Tensor& a, const at::Tensor& b, float threshold, float atol = 1e-8, float rtol = 1e-5);
1515

1616
bool exactlyEqual(const at::Tensor& a, const at::Tensor& b);
1717

0 commit comments

Comments
 (0)