Skip to content

Commit 955db5e

Browse files
KhalilSelyanxmfcx
andcommitted
fix: use double instead of float
Co-authored-by: M. Fatih Cırıt <xmfcx@users.noreply.github.com>
1 parent a320493 commit 955db5e

File tree

1 file changed

+1
-1
lines changed
  • common/autoware_overlay_rviz_plugin/autoware_overlay_rviz_plugin/src

1 file changed

+1
-1
lines changed

common/autoware_overlay_rviz_plugin/autoware_overlay_rviz_plugin/src/gear_display.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void GearDisplay::drawGearIndicator(QPainter & painter, const QRectF & backgroun
8787
borderPen.setWidth(1);
8888
painter.setPen(borderPen);
8989

90-
float gearBoxSize = 37.5;
90+
double gearBoxSize = 37.5;
9191
double gearX = backgroundRect.left() + 54;
9292
double gearY = backgroundRect.height() / 2 - gearBoxSize / 2.0;
9393
QRect gearRect(gearX, gearY, gearBoxSize, gearBoxSize);

0 commit comments

Comments
 (0)