Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bayeswave
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lscsoft
bayeswave
Merge requests
!197
initialize resumeflag
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
initialize resumeflag
katerina.chatziioannou/bayeswave:Resume
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Katerina Chatziioannou
requested to merge
katerina.chatziioannou/bayeswave:Resume
into
master
4 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Add an explicit initialization for data->resumeFlag. Resolves
#105 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
acde8f93
1 commit,
4 years ago
1 file
+
2
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/BayesWaveModel.c
+
2
−
0
Options
@@ -694,6 +694,8 @@ void initialize_data(struct Data *data, double **s, int N, int tsize, double Tob
data
->
ifos
=
malloc
(
NI
*
sizeof
(
char
*
));
for
(
i
=
0
;
i
<
NI
;
i
++
)
data
->
ifos
[
i
]
=
malloc
(
4
*
sizeof
(
char
));
data
->
resumeFlag
=
0
;
//set this to 0 by default, will be set to 1 later if the run is resuming from a checkpoint
}
void
initialize_model
(
struct
Model
*
model
,
struct
Data
*
data
,
struct
Prior
*
prior
,
double
**
psd
,
gsl_rng
*
seed
)
Loading