DrugowitschLab / dm

C++ Diffusion model toolset with Python and Matlab interfaces
Other
16 stars 8 forks source link

const bool symconstbounds = (constbounds && b_up[0] == -b_up[0]); #5

Closed awellis closed 4 years ago

awellis commented 4 years ago

On line 244 in dm/src/ddm_fpt_lib.cpp, you check whether the bounds are symmetric, in addition to being constant:

const bool symconstbounds = (constbounds && b_up[0] == -b_up[0]);

Should that not be?

const bool symconstbounds = (constbounds && b_lo[0] == -b_up[0]);

You want to check whether the lower bound is equal to the negative upper bound, right?