Skip to content

Commit 4d5a048

Browse files
committed
fix declare error
1 parent 43e72d5 commit 4d5a048

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

SINGER/SINGER.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@
376376
GCC_C_LANGUAGE_STANDARD = gnu99;
377377
GCC_DYNAMIC_NO_PIC = NO;
378378
GCC_NO_COMMON_BLOCKS = YES;
379-
GCC_OPTIMIZATION_LEVEL = 3;
379+
GCC_OPTIMIZATION_LEVEL = 0;
380380
GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
381381
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
382382
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
@@ -432,7 +432,7 @@
432432
ENABLE_STRICT_OBJC_MSGSEND = YES;
433433
GCC_C_LANGUAGE_STANDARD = gnu99;
434434
GCC_NO_COMMON_BLOCKS = YES;
435-
GCC_OPTIMIZATION_LEVEL = 3;
435+
GCC_OPTIMIZATION_LEVEL = 0;
436436
GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
437437
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
438438
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;

SINGER/SINGER.xcodeproj/xcshareddata/xcschemes/SINGER.xcscheme

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
</CommandLineArgument>
5858
<CommandLineArgument
5959
argument = "-Ne 1e4 -mut_map /Users/yun_deng/Desktop/SINGER/arg_files/mut_map_0.txt -recomb_map /Users/yun_deng/Desktop/SINGER/arg_files/const_rec_map_0.txt -input /Users/yun_deng/Desktop/SINGER/arg_files/50_0 -output /Users/yun_deng/Desktop/SINGER/arg_files/50_0 -n 100 -thin 20 -start 0 -end 1e6 -polar 0.99"
60+
isEnabled = "NO">
61+
</CommandLineArgument>
62+
<CommandLineArgument
63+
argument = "-Ne 20000.0 -m 1.2e-08 -r 1.2e-08 -input ../yri_polarized_chr1 -output ../singer_args/yri_polarized_chr1_0_1 -start 0.0 -end 2000000.0 -polar 0.99 -n 100 -thin 50 -seed 42"
6064
isEnabled = "YES">
6165
</CommandLineArgument>
6266
</CommandLineArguments>

SINGER/SINGER/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,13 @@ int main(int argc, const char * argv[]) {
254254
}
255255
Sampler sampler;
256256
if (r > 0 and m > 0) {
257-
Sampler sampler = Sampler(Ne, r, m);
257+
sampler = Sampler(Ne, r, m);
258258
} else {
259259
Rate_map recomb_map = Rate_map();
260260
recomb_map.load_map(recomb_map_filename);
261261
Rate_map mut_map = Rate_map();
262262
mut_map.load_map(mut_map_filename);
263-
Sampler sampler = Sampler(Ne, recomb_map, mut_map);
263+
sampler = Sampler(Ne, recomb_map, mut_map);
264264
}
265265
sampler.penalty = penalty;
266266
sampler.polar = polar;

0 commit comments

Comments
 (0)