Skip to content

Commit 7907048

Browse files
committed
fix further issues
1 parent e7756b5 commit 7907048

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ jobs:
7979

8080
- name: Configure
8181
run: >
82-
cmake . -B build -G Ninja -A x64
83-
-D CMAKE_BUILD_TYPE=Release
84-
-D VISP_CI=ON
82+
cmake . -B build -A x64
83+
-D CMAKE_BUILD_TYPE=Release
84+
-D VISP_CI=ON
8585
8686
- name: Build
8787
run: cmake --build build

src/visp/image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ image_data image_load(char const* filepath) {
187187
throw except("Failed to load image {}: {}", filepath, stbi_failure_reason());
188188
}
189189
image_format format = image_format_from_channels(channels);
190-
return image_data(extent, format, std::unique_ptr<uint8_t[]>(pixels));
190+
return image_data{extent, format, std::unique_ptr<uint8_t[]>(pixels)};
191191
}
192192

193193
void image_save(image_view const& img, char const* filepath) {

tests/workbench.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ DEF(biref_decode)(model_ref m, span<tensor> input, param_dict const& p) {
348348
// MI-GAN
349349

350350
DEF(migan_lrelu_agc)(model_ref m, span<tensor> input, param_dict const& p) {
351-
return {migan::lrelu_agc(m, input[0], 0.2f, std::sqrtf(2), 1.0f)};
351+
return {migan::lrelu_agc(m, input[0], 0.2f, std::sqrt(2), 1.0f)};
352352
}
353353

354354
DEF(migan_downsample_2d)(model_ref m, span<tensor> input, param_dict const& p) {

0 commit comments

Comments
 (0)