| View previous topic :: View next topic |
| Author |
Message |
onlytk Member
Joined: 30 Oct 2005 Posts: 9
|
Posted: 30/10/05 02:00 Post subject: Bug in SimpleGraph Rhomboid |
|
|
I'm new with de SimpleGraph, but when i was testing the SGDemo, I had a exception, it occur when:
1. Put two Rhomboids on the SimpleGraph.
2. Link both.
3. and move one of the rhomboids around the other.
3. and......... occur an exception "Invalid floating point operation".
Someone occur, and some one not, i dont know why.
|
|
| Back to top |
|
 |
kokkoras Senior Member

Joined: 12 Mar 2005 Posts: 250 Location: Thessaloniki, Greece
|
Posted: 31/10/05 02:03 Post subject: |
|
|
It happened to me as well. But only once. I tried to reproduce it but failed.
Was it from inside Delphi or not? I mean, how was the demo activated? Was it using the stand-alone executable or the Run command of Delphi IDE? (I can't recall my case
|
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 31/10/05 16:31 Post subject: |
|
|
I could find one reason of the bug, and fixed it. But still there's another bug that I'm trying to fix it.
_________________ Kambiz |
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 01/11/05 09:00 Post subject: |
|
|
The bug was not only in Rhomboids but also in all polygonal nodes. To fix this bug I had to change the way of calculating the end points of the links.
Also, to perevent Invalid Floating Point Operation Exception, I had to change Extended data type to Double.
The update is available to download.
Cheers
_________________ Kambiz |
|
| Back to top |
|
 |
|