This commit is contained in:
Anthony Stirling 2024-06-02 12:02:01 +01:00
parent eb526a5d0c
commit 31938b662c
2 changed files with 21 additions and 22 deletions

View file

@ -137,8 +137,7 @@ public class FakeScanControllerWIP {
// Normalize the kernel
for (int i = 0; i < data.length; i++) {
if(sum != 0)
data[i] /= sum;
if (sum != 0) data[i] /= sum;
}
Kernel kernel = new Kernel(size, size, data);

View file

@ -22,7 +22,7 @@ import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;
import io.github.pixee.security.Filenames;
import stirling.software.SPDF.controller.web.AccountWebController;
import stirling.software.SPDF.utils.ProcessExecutor.ProcessExecutorResult;
public class PDFToFile {