pnlbwh / ukftractography

Other
25 stars 27 forks source link

Declare bmax outside for loop #138

Closed tashrifbillah closed 3 years ago

tashrifbillah commented 3 years ago

Declaration of int bmax inside the for loop is not an issue for Tashrif's workstation (gcc/4.8.5, CentOS 7 default), but it is for grx* nodes with the same gcc. The latter cannot remember bmax in between iterations. `char value` pointer also comes into play in this anomaly.

More details and a different fix around char *value pointer can be found in comments in PR #137.