|
Lines 125-131
if ( jcol == MIN_COL ) {
Link Here
|
| 125 |
/* Test for singularity */ |
125 |
/* Test for singularity */ |
| 126 |
if ( pivmax == 0.0 ) { |
126 |
if ( pivmax == 0.0 ) { |
| 127 |
#if 1 |
127 |
#if 1 |
|
|
128 |
#if SCIPY_FIX |
| 129 |
if (pivptr < nsupr) { |
| 130 |
*pivrow = lsub_ptr[pivptr]; |
| 131 |
} |
| 132 |
else { |
| 133 |
*pivrow = diagind; |
| 134 |
} |
| 135 |
#else |
| 128 |
*pivrow = lsub_ptr[pivptr]; |
136 |
*pivrow = lsub_ptr[pivptr]; |
|
|
137 |
#endif |
| 129 |
perm_r[*pivrow] = jcol; |
138 |
perm_r[*pivrow] = jcol; |
| 130 |
#else |
139 |
#else |
| 131 |
perm_r[diagind] = jcol; |
140 |
perm_r[diagind] = jcol; |
| 132 |
-- a/SRC/Makefile.am |
141 |
++ b/SRC/Makefile.am |
|
Lines 16-22
Link Here
|
| 16 |
slu_scomplex.h \ |
16 |
slu_scomplex.h \ |
| 17 |
slu_util.h \ |
17 |
slu_util.h \ |
| 18 |
superlu_enum_consts.h \ |
18 |
superlu_enum_consts.h \ |
| 19 |
supermatrix.h |
19 |
supermatrix.h \ |
|
|
20 |
scipy_slu_config.h |
| 20 |
|
21 |
|
| 21 |
### LAPACK |
22 |
### LAPACK |
| 22 |
LAAUX = lsame.c xerbla.c |
23 |
LAAUX = lsame.c xerbla.c |
| 23 |
-- a/TESTING/MATGEN/Makefile |
24 |
++ b/TESTING/MATGEN/Makefile> |
|
Lines 31-36
Link Here
|
| 31 |
####################################################################### |
31 |
####################################################################### |
| 32 |
ALLAUX = lsamen.o |
32 |
ALLAUX = lsamen.o |
| 33 |
|
33 |
|
|
|
34 |
HEADER = ../../SRC |
| 35 |
|
| 34 |
SCATGEN = slatm1.o slaran.o slarnd.o slaruv.o slabad.o slarnv.o |
36 |
SCATGEN = slatm1.o slaran.o slarnd.o slaruv.o slabad.o slarnv.o |
| 35 |
SLASRC = slatb4.o slaset.o slartg.o |
37 |
SLASRC = slatb4.o slaset.o slartg.o |
| 36 |
SMATGEN = slatms.o slatme.o slatmr.o \ |
38 |
SMATGEN = slatms.o slatme.o slatmr.o \ |
|
Lines 78-81
Link Here
|
| 78 |
clean: |
80 |
clean: |
| 79 |
rm -f *.o ../$(TMGLIB) |
81 |
rm -f *.o ../$(TMGLIB) |
| 80 |
|
82 |
|
| 81 |
.c.o: ; $(CC) $(CFLAGS) $(CDEFS) -c $< |
83 |
.c.o: ; $(CC) $(CFLAGS) $(CDEFS) -I$(HEADER) -L$(HEADER) -c $< |
| 82 |
-- a/TESTING/Makefile |
84 |
++ b/TESTING/Makefile |
|
Lines 98-104
Link Here
|
| 98 |
timer.o: timer.c ; $(CC) -O -c $< |
98 |
timer.o: timer.c ; $(CC) -O -c $< |
| 99 |
|
99 |
|
| 100 |
.c.o: |
100 |
.c.o: |
| 101 |
$(CC) $(CFLAGS) $(CDEFS) -I$(HEADER) -c $< $(VERBOSE) |
101 |
$(CC) $(CFLAGS) $(CDEFS) -I$(HEADER) -L$(HEADER) -c $< $(VERBOSE) |
| 102 |
|
102 |
|
| 103 |
clean: |
103 |
clean: |
| 104 |
rm -f *.o *test *.out |
104 |
rm -f *.o *test *.out |