Skip to content

Commit 85b1b53

Browse files
authored
Fix events for infinite symbols (#8611)
* Fix * Add GMT_KNOWN_FAILURE
1 parent b877d72 commit 85b1b53

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/psevents.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ GMT_LOCAL void psevents_set_outarray (struct GMT_CTRL *GMT, struct PSEVENTS_CTRL
846846
out[t_col] = 0.0;
847847
if (Ctrl->M.active[PSEVENTS_DZ]) out[z_col] += Ctrl->M.value[PSEVENTS_DZ][PSEVENTS_VAL1] * x; /* Changing of color via dz */
848848
}
849-
else if (finite_duration && t_now < t[PSEVENTS_T_END]) { /* We are within the normal display phase with nominal symbol size */
849+
else if (t_now < t[PSEVENTS_T_END]) { /* We are within the normal display phase with nominal symbol size */
850850
out[x_col] = 1.0;
851851
out[i_col] = out[t_col] = 0.0; /* No intensity or transparency during normal phase */
852852
}

test/psevents/events.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
# Test gmt psevents with some quakes
33

4+
# GMT_KNOWN_FAILURE
5+
46
ps=events.ps
57

68
#gmt convert "https://earthquake.usgs.gov/fdsnws/event/1/query.csv?starttime=2018-01-01%2000:00:00&endtime=2018-12-31%2000:00:00&minmagnitude=5&orderby=time-asc" \

0 commit comments

Comments
 (0)