Correct wrong dimension to lower value

Fix issue #1900
This commit is contained in:
Matthias Agethle 2025-02-03 14:32:28 +01:00
parent 36f340dab3
commit e3204a1e13

View file

@ -211,7 +211,7 @@ public class Detector {
dimension--;
break;
case 3:
throw NotFoundException.getNotFoundInstance();
dimension = dimension - 2;
}
return dimension;
}