Skip to content

Commit 6c3abf7

Browse files
allnesaobolensk
andauthored
Update tasks/all/example/func_tests/func_all.cpp
Co-authored-by: Arseniy Obolenskiy <gooddoog@student.su>
1 parent 13cb1de commit 6c3abf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tasks/all/example/func_tests/func_all.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ TEST(nesterov_a_test_task_all, test_matmul_from_pic) {
4545
std::string abs_path = ppc::util::GetAbsolutePath("all/example/data/pic_all.jpg");
4646
unsigned char *data = stbi_load(abs_path.c_str(), &width, &height, &channels, 0);
4747
EXPECT_TRUE(data != nullptr) << "Failed to load image: " << stbi_failure_reason() << '\n';
48-
std::vector<uint8_t> img = std::vector<uint8_t>(data, data + (width * height * channels));
48+
auto img = std::vector<uint8_t>(data, data + (width * height * channels));
4949
stbi_image_free(data);
5050

5151
EXPECT_EQ(width, height);

0 commit comments

Comments
 (0)