Skip to content

Commit b673bd8

Browse files
committed
Revert to not INHERIT SHARE from Monitor_nD
(Released code in 3.5.41-3.6.0 does not allow co-existance with "actual" Monitor_nD) More general issue will be documented later
1 parent 78308df commit b673bd8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mcstas-comps/union/Union_abs_logger_nD.comp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,14 @@ OUTPUT PARAMETERS ()
114114

115115
/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
116116

117-
SHARE INHERIT Monitor_nD EXTEND
117+
SHARE
118118
%{
119119
#ifndef Union
120120
#error "The Union_init component must be included before this Union_abs_logger_nD component"
121121
#endif
122122

123+
%include "monitor_nd-lib" // Internally avoids double import
124+
123125
struct temp_abs_nD_data_element_struct {
124126
double x_pos;
125127
double y_pos;

0 commit comments

Comments
 (0)