mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-09 16:44:35 +00:00
use range neq zero instead of lt (#1388)
This commit is contained in:
parent
12c501f723
commit
62cd9bb0b2
1 changed files with 1 additions and 1 deletions
|
@ -1678,7 +1678,7 @@ const std::vector<samplers> & sampler_order, llama_grammar * grammar, float dyna
|
|||
sampler_typical(&candidates_p, typical_p, 1);
|
||||
break;
|
||||
case KCPP_SAMPLER_TEMP:
|
||||
if (dynatemp_range>0)
|
||||
if (dynatemp_range!=0)
|
||||
{
|
||||
float dynatemp_min = temp - dynatemp_range;
|
||||
float dynatemp_max = temp + dynatemp_range;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue