From 9e9c701ec38f6e0e6c0a6b9669ed224e5d323c5c Mon Sep 17 00:00:00 2001 From: Ussama Naal Date: Wed, 1 Apr 2020 21:24:20 +0000 Subject: [PATCH] Conform to coding style guidlines --- gazebo/physics/HeightmapShape.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gazebo/physics/HeightmapShape.cc b/gazebo/physics/HeightmapShape.cc index 5130143afb..63ea0fa05c 100644 --- a/gazebo/physics/HeightmapShape.cc +++ b/gazebo/physics/HeightmapShape.cc @@ -313,7 +313,8 @@ void HeightmapShape::SetHeight(int _x, int _y, float _value) int index = _y * this->vertSize + _x; if (_x < 0 || _y < 0 || index >= static_cast(this->heights.size())) { - gzerr << "SetHeight: position (" << _x << ", " << _y << ") is outside map!" << std::endl; + gzerr << "SetHeight position (" << _x << ", " << _y << ")" + << " is out of bounds" << std::endl; return; }