09-23-2017 01:26 AM
09-23-2017 01:58 AM
Setting it to zero will not work in many cases. For example if all your values are negative, zero will be the max forever. You need to initialize to -Inf.
09-24-2017 11:29 AM - edited 09-24-2017 11:30 AM
@altenbach wrote:
Setting it to zero will not work in many cases. For example if all your values are negative, zero will be the max forever. You need to initialize to -Inf.
Or to the current value.
09-24-2017 11:56 AM