forked from OSchip/llvm-project
Add a floating-point suffix to silence warnings; NFC
This silences about 6000 warnings about truncating from double to float with Visual Studio.
This commit is contained in:
parent
7e2edf973b
commit
45e0f65162
|
@ -40,7 +40,7 @@ def header_guard(filename):
|
|||
|
||||
def boost_node(n, label, next_label):
|
||||
"""Returns code snippet for a leaf/boost node."""
|
||||
return "%s: return %s;" % (label, n['score'])
|
||||
return "%s: return %sf;" % (label, n['score'])
|
||||
|
||||
|
||||
def if_greater_node(n, label, next_label):
|
||||
|
|
Loading…
Reference in New Issue