Ask Your Question

Revision history [back]

Need help to fix a bug

hi all,

i am trying to fix a bug on minEnclosingTriangle.

I changed min_enclosing_triangle.cpp line 730 as

bool sideCValid = (validationFlag == VALIDATION_SIDES_FLUSH) || (isPointOnLineSegment(midpointSideC, sideCStartVertex, sideCEndVertex));

to test result of this change i compare return values of both current and changed minEnclosingTriangle by bugtest_minEnclosingTriangle.cpp

can someone help me by running bugtest_minEnclosingTriangle.cpp

1) i am working with code:block and wonder results of other compiler.

2) i have a problem when running bugtest_minEnclosingTriangle.cpp. at last test points my changed code fails. but when i make this change to source of the library and rebuild it works good ( i think i must do something related configuration of my compiler )

attached pictures about results :

1 both successful

image description

2 my change is successful

image description

3 my change is failed

image description

thanks in advance

Need help to fix a bug

hi all,

i am trying to fix a bug on minEnclosingTriangle.

I changed min_enclosing_triangle.cpp line 730 as

bool sideCValid = (validationFlag == VALIDATION_SIDES_FLUSH) || (isPointOnLineSegment(midpointSideC, sideCStartVertex, sideCEndVertex));

to test result of this change i compare return values of both current and changed minEnclosingTriangle by bugtest_minEnclosingTriangle.cpp

can someone help me by running bugtest_minEnclosingTriangle.cpp

1) i am working with code:block and wonder results of other compiler.

2) i have a problem when running bugtest_minEnclosingTriangle.cpp. at last test points my changed code fails. but when i make this change to source of the library and rebuild it works good ( i think i must do something related configuration of my compiler )

EDIT : i found the problem about compiler setting. ( i don't know why i did not check before asking )

image description

attached pictures about results :

1 both successful

image description

2 my change is successful

image description

3 my change is failed

image description

thanks in advance

Need help to fix a bug

hi all,

i am trying to fix a bug on minEnclosingTriangle.

I changed min_enclosing_triangle.cpp line 730 as

bool sideCValid = (validationFlag == VALIDATION_SIDES_FLUSH) || (isPointOnLineSegment(midpointSideC, sideCStartVertex, sideCEndVertex));

to test result of this change i compare return values of both current and changed minEnclosingTriangle by bugtest_minEnclosingTriangle.cpp

can someone help me by running bugtest_minEnclosingTriangle.cpp

1) i am working with code:block and wonder results of other compiler.

2) i have a problem when running bugtest_minEnclosingTriangle.cpp. at last test points my changed code fails. but when i make this change to source of the library and rebuild it works good ( i think i must do something related configuration of my compiler )

EDIT : i found the problem about compiler setting. ( i don't know why i did not check before asking )

image description

attached pictures about results :

1 both successful

image description

2 my change is successful

image description

3 my change is failed

image description

thanks in advance

Need help to fix a bug

hi all,

i am trying to fix a bug on minEnclosingTriangle.

I changed min_enclosing_triangle.cpp line 730 as

bool sideCValid = (validationFlag == VALIDATION_SIDES_FLUSH) || (isPointOnLineSegment(midpointSideC, sideCStartVertex, sideCEndVertex));

to test result of this change i compare return values of both current and changed minEnclosingTriangle by bugtest_minEnclosingTriangle.cpp

can someone help me by running bugtest_minEnclosingTriangle.cpp

1) i am working with code:block and wonder results of other compiler.

2) i have a problem when running bugtest_minEnclosingTriangle.cpp. at last test points my changed code fails. but when i make this change to source of the library and rebuild it works good ( i think i must do something related configuration of my compiler )

attached pictures about results :

1 both successful

image description

2 my change is successful

image description

3 my change is failed

image description

thanks in advance