Skip to content

Commit 2e1a489

Browse files
committed
fix: fixed typo
1 parent 6be4c50 commit 2e1a489

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/server/frontend

src/denoiser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ static sd::Tensor<float> sample_ipndm_v(denoise_cb_t model,
12351235
break;
12361236
}
12371237

1238-
if (hist.size() == static_cast<size_t>(max_order - 1), nullptr) {
1238+
if (hist.size() == static_cast<size_t>(max_order - 1)) {
12391239
hist.erase(hist.begin());
12401240
}
12411241
hist.push_back(std::move(d_cur));

0 commit comments

Comments
 (0)