mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-06 22:55:08 +00:00
Corrected bug in out-of-place axpby
This commit is contained in:
@@ -263,7 +263,7 @@ subroutine psb_caxpby_vect_out(alpha, x, beta, y,&
|
||||
|
||||
if(desc_a%get_local_rows() > 0) then
|
||||
call z%axpby(desc_a%get_local_rows(),&
|
||||
& alpha,x,beta,z,info)
|
||||
& alpha,x,beta,y,info)
|
||||
end if
|
||||
|
||||
call psb_erractionrestore(err_act)
|
||||
|
||||
@@ -263,7 +263,7 @@ subroutine psb_daxpby_vect_out(alpha, x, beta, y,&
|
||||
|
||||
if(desc_a%get_local_rows() > 0) then
|
||||
call z%axpby(desc_a%get_local_rows(),&
|
||||
& alpha,x,beta,z,info)
|
||||
& alpha,x,beta,y,info)
|
||||
end if
|
||||
|
||||
call psb_erractionrestore(err_act)
|
||||
|
||||
@@ -263,7 +263,7 @@ subroutine psb_saxpby_vect_out(alpha, x, beta, y,&
|
||||
|
||||
if(desc_a%get_local_rows() > 0) then
|
||||
call z%axpby(desc_a%get_local_rows(),&
|
||||
& alpha,x,beta,z,info)
|
||||
& alpha,x,beta,y,info)
|
||||
end if
|
||||
|
||||
call psb_erractionrestore(err_act)
|
||||
|
||||
@@ -263,7 +263,7 @@ subroutine psb_zaxpby_vect_out(alpha, x, beta, y,&
|
||||
|
||||
if(desc_a%get_local_rows() > 0) then
|
||||
call z%axpby(desc_a%get_local_rows(),&
|
||||
& alpha,x,beta,z,info)
|
||||
& alpha,x,beta,y,info)
|
||||
end if
|
||||
|
||||
call psb_erractionrestore(err_act)
|
||||
|
||||
Reference in New Issue
Block a user