Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
vadere
vadere
Commits
6d924614
Commit
6d924614
authored
Aug 28, 2018
by
Daniel Lehmberg
Browse files
bugfix of the last commit
parent
c74b2821
Pipeline
#66867
failed with stages
in 55 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
VadereUtils/src/org/vadere/util/voronoi/Face.java
View file @
6d924614
...
...
@@ -77,7 +77,7 @@ public class Face {
*
(
limits
.
yHigh
-
limits
.
yLow
);
try
{
if
(
result
<
0
||
Math
.
abs
(
result
-
maxArea
)
>
1
E
-
15
)
{
if
(
result
<
0
||
(
result
>
maxArea
&&
Math
.
abs
(
result
-
maxArea
)
>
1
E
-
15
)
)
{
String
message
=
"(Object "
+
id
+
") Area of face is: "
+
result
+
". This is an illegal area size "
+
"because result has to be positive and less than maxArea (= "
+
maxArea
+
")"
;
throw
new
IllegalStateException
(
message
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment