fix build: Don't check if unsigned int < 0

This commit is contained in:
John Colvin committed 2025-01-28 20:20:06 +00:00
1 parent 3623ac96db
commit d5024f1858
1 file changed
+1 -1
+1 -1
View File
@@ -79,7 +79,7 @@ bool FixedSecurity::get_quantity_info(
float &tick_base,
float &max_price,
bool &is_notional) const {
if (index < 0 || index >= _qty_info_size) {
if (index >= _qty_info_size) {
return false;
}
min_value = _qty_min_value[index];