Skip to content

Commit 74e61f9

Browse files
committed
fix path mismatch bis
1 parent 295524a commit 74e61f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/msad.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ function MSADTracker(chains; theta_T::T, output_schedule::Vector{Int}, path::Str
108108

109109
dirs = [joinpath(path, "chains", "$c") for c in 1:n]
110110

111-
algorithm.files_integral[c] = open(joinpath(dir, "phi_integral.dat"), "w")
112-
algorithm.files_thresh[c] = open(joinpath(dir, "phi_thresh.dat"), "w")
111+
algorithm.files_integral[c] = open(joinpath(dirs, "phi_integral.dat"), "w")
112+
algorithm.files_thresh[c] = open(joinpath(dirs, "phi_thresh.dat"), "w")
113113

114114
return MSADTracker{T}(states, theta_T, compute_schedule, output_schedule, paths_integral, paths_thresh, files_integral, files_thresh)
115115
end

0 commit comments

Comments
 (0)