Skip to content

Commit cc1b92a

Browse files
committed
make sure we set the random seed for dummy_vis for consistent test results
1 parent 5f08bf6 commit cc1b92a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/cpp_src/Applications/test/chk_highnchannels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ NAPS=30
2020
NSPECPTS=128
2121

2222
#run dummy_vis to generate fake visibilty data to test if we can process n_channels > 128 (here we test 256)
23-
dummy_vis --snr ${SNR_VAL} -c ${NCHAN} -w ${CHANW} -n ${NAPS} -s ${NSPECPTS}
23+
dummy_vis --seed 99 --snr ${SNR_VAL} -c ${NCHAN} -w ${CHANW} -n ${NAPS} -s ${NSPECPTS}
2424

2525
echo "Running: fourfit4 -m 4 -b AB -P XX ./"
2626
output_file=$(fourfit4 -m 4 -b AB -P XX ./ 2>&1 | awk '{print $NF}')

0 commit comments

Comments
 (0)