Skip to content

Commit

Permalink
Wgap set incorrectly in subset case
Browse files Browse the repository at this point in the history
  • Loading branch information
m.petschow committed Jun 24, 2013
1 parent 612809a commit c00b8ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions SRC/mrrr_val.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ int mrrr_val(char *jobz, char *range, int nthreads, in_t *Dstruct,
W[jee] = W[je];
Wcopy[jee] = Wcopy[je];
Werr[jee] = Werr[je];
Wgap[jee] = Wgap[je];
Windex[jee] = Windex[je];
iblock[jee] = iblock[je];
jee++;
Expand Down
2 changes: 1 addition & 1 deletion SRC/process_singleton.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ int PMR_process_s_task(singleton_t *sng, int tid, counter_t *num_left,
right = Wshifted[i] + Werr[i];
i_local = Windex[i];
r = 0;

/* compute left and right gap */
if (i == bl_begin)
lgap = DBL_EPSILON * fmax(fabs(left), fabs(right));
Expand Down
4 changes: 2 additions & 2 deletions make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ CC = gcc
FC = gfortran

# Compiler flags
CFLAGS = -O3 -pthread
FFLAGS = -O3 -funderscoring
CFLAGS = -O3 -g -pthread
FFLAGS = -O3 -g -funderscoring

# Archiver and flags used when building the archive
AR = /usr/bin/ar
Expand Down

0 comments on commit c00b8ab

Please sign in to comment.