lmXuu_info() bugfix. ball_bearing_info() bugfix.

This commit is contained in:
Revar Desmera
2022-09-20 00:48:34 -07:00
parent 75dfe87c51
commit 0a1abb78ef
3 changed files with 31 additions and 40 deletions

View File

@@ -223,7 +223,7 @@ function ball_bearing_info(trade_size) =
],
found = search([trade_size], data, 1)[0]
)
assert(found, str("Unsupported ball bearing trade size: ", trade_size))
assert(found!=[], str("Unsupported ball bearing trade size: ", trade_size))
select(data[found], 1, -1);