summaryrefslogtreecommitdiff
path: root/plugins/ZamTube/triode.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ZamTube/triode.h')
-rw-r--r--plugins/ZamTube/triode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/ZamTube/triode.h b/plugins/ZamTube/triode.h
index fd2da51..e7a70fb 100644
--- a/plugins/ZamTube/triode.h
+++ b/plugins/ZamTube/triode.h
@@ -31,6 +31,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define SWAP_NN(x,y) {T tmp=y; y=-x; x=-tmp;}
#define TOLERANCE 1e-6
+#define MAX(x, y) (( (x) > (y) ) ? x : y )
+#define MIN(x, y) (( (x) < (y) ) ? x : y )
+
typedef double T;
static inline float