Ticket #37606

Error in coach player type analyzer

Open Date: 2017-10-27 23:59 Last Update: 2017-11-13 15:35

Reporter:
Owner:
Type:
Status:
Open [Owner assigned]
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None

Details

In librcsc 4.1.1, the file rcsc/coach/player_type_analyzer.cpp has an error on line 772. Lines 771 and 772 uncorrected and corrected are below:

Error in version 4.1.1:

if ( std::fabs( M_world.ball().pos().x - new_ball_pos.x ) > rand_max
|| std::fabs( M_world.ball().pos().x - new_ball_pos.x ) > rand_max )

Corrected:

if ( std::fabs( M_world.ball().pos().x - new_ball_pos.x ) > rand_max
|| std::fabs( M_world.ball().pos().y - new_ball_pos.y ) > rand_max )

Attachment File List

No attachments

Ticket History (3/3 Histories)

2017-10-27 23:59 Updated by: wbwatkinson
  • New Ticket "Error in coach player type analyzer" created
2017-11-13 15:34 Updated by: akky
Comment

Thank you for reporting the error. The problem will be fixed in the next release.

2017-11-13 15:35 Updated by: akky
  • Owner Update from (None) to akky

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login