Skip to content

Commit 3730bc0

Browse files
committed
Fixed a critical typo in driving_function_mono_wfs_ps()
1 parent 0d9a4a7 commit 3730bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SFS_monochromatic/driving_functions_mono/driving_function_mono_wfs_ps.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
% r = |x0-xs|
143143
r = vector_norm(x0-xs,2);
144144
% driving signal
145-
D = -1/(2c) .* 1i*omega/c * vector_product(x0-xs,nx0,2) ./ r .* besselh(1,2,omega/c*r);
145+
D = -1/(2*c) .* 1i*omega/c * vector_product(x0-xs,nx0,2) ./ r .* besselh(1,2,omega/c*r);
146146
%
147147
%
148148
elseif strcmp('delft1988',driving_functions)

0 commit comments

Comments
 (0)