swarm-support
[Top][All Lists]
Advanced

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

Bug Report & Fix


From: Manor Askenazi
Subject: Bug Report & Fix
Date: Fri, 26 Jan 96 01:19:08 MST

             ********************
             * Bug Report & Fix *
             ********************

The following bug has been discovered thanks to the unforgiving 
nature of the Solaris string-manipulation code :-) First spotted
by Matthew Hare at the Macaulay Land Use Research Institute then
by Doug Donalson at UCSB - thanks Doug for taking the time to do
a debug session over the phone!!!

In file:

  ..wherever../swarm/swarmlibs/simtools/ProbeDisplay.m

The line in the method createEnd, which reads:

  widgets[i] = [VarProbeWidget createParent: topFrame] ;

Should be replaced with:

  widgets[i] = 
    [[VarProbeWidget createBegin: [self getZone]] setParent: topFrame] ;

You may not want to bother making this change if heatbugs does not
crash on your machine. In any case all you will need to do is type 
make in the simtools directory and then make whatever demo was not 
working previously.

---

Buggy Code - Oh the Unbearable Shame of it!
Verily, I should be cast away from the Swarm community, 
To the barren desert hell of custom coded simulations,
Forever rewriting grid spaces and graph widgets.

Manor.


reply via email to

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