I tried to use Revise.jl to make some parameter tuning faster. However, it sometimes doesn’t work well for me, because it would not recompile the code after the modified line. Even when these code may use the variable(e.g. NT1=NT+1, or range statement based on it).
For now, I must include the file again. Is there a way to avoid the problem w/o include the file again? Or is there a Revise-like package to do the something like this?
module mymodule NT=10 #\change NT to 20, Revise would modify this line in the background, from 10 to 20 t1=NT+1# t1 is NOT updated, still 11 t=range(0.0,stop=NT,step=1.0) # t is NOT updated end