Skip to content

Commit 382993b

Browse files
CovMatXiaohan Chen
andauthored
fix a bug in coupe (#8804)
Co-authored-by: Xiaohan Chen <[email protected]>
1 parent 06909d8 commit 382993b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/seis/pscoupe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ EXTERN_MSC int GMT_pscoupe (void *V_API, int mode, void *args) {
13291329
depth = in[GMT_Z];
13301330

13311331
if (!pscoupe_dans_coupe (in[GMT_X], in[GMT_Y], depth, Ctrl->A.xlonref, Ctrl->A.ylatref, Ctrl->A.fuseau, Ctrl->A.PREF.str,
1332-
Ctrl->A.PREF.dip, Ctrl->A.p_length, Ctrl->A.p_width, &distance, &n_dep) && !Ctrl->N.active)
1332+
Ctrl->A.PREF.dip, Ctrl->A.p_length, Ctrl->A.p_width, &distance, &n_dep) )
13331333
continue;
13341334

13351335
xy[GMT_X] = distance;

0 commit comments

Comments
 (0)