Skip to content

Commit 9b61be4

Browse files
committed
factoring riscv64/dot.c fix into separate PR as requested
1 parent 2406958 commit 9b61be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/riscv64/dot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y)
4646
BLASLONG ix=0,iy=0;
4747
double dot = 0.0 ;
4848

49-
if ( n < 1 ) return(dot);
49+
if ( n < 0 ) return(dot);
5050

5151
while(i < n)
5252
{

0 commit comments

Comments
 (0)