[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EZGraph warning
From: |
Pietro Terna |
Subject: |
Re: EZGraph warning |
Date: |
Sun, 19 Apr 1998 19:37:05 +0200 |
Yes, it was aborting, Pietro
At 09.59 19/04/98 -0700, you wrote:
>>>>>> "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.
> ==================================
>
==================================
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.
==================================