swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EZGraph warning


From: Marcus G. Daniels
Subject: Re: EZGraph warning
Date: 19 Apr 1998 09:59:11 -0700

>>>>> "PT" == Pietro Terna <address@hidden> writes:

PT>     With 1.0.5 version, EZGraph was working well also if "the
PT> return value" was a float; now it seems to be necessary to have a
PT> double.

It was aborting, yes?  Anyway, try this:

Index: MessageProbe.m
===================================================================
RCS file: /opt/src/hive/cvs/Swarm/swarm/src/objectbase/MessageProbe.m,v
retrieving revision 1.20
diff -c -r1.20 MessageProbe.m
*** MessageProbe.m      1998/04/15 18:03:48     1.20
--- MessageProbe.m      1998/04/19 16:52:00
***************
*** 475,480 ****
--- 475,482 ----
  #else
      return (double)val.val._int;
  #endif
+   else if (val.type == _C_FLT)
+     return (double)val.val._float;
    else if (val.type == _C_DBL)
      return val.val._double;
    abort (); 

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]