-
…ependent on the swig version the results will differ)
-
I removed the -DSWIG_PYTHON_LEGACY_BOOL compile option for swig and corrected two unit test problems in test_GApplication.py and test_GFits.py that arose from this (see #1494). I then added a __setitem__(const std::string& name, const bool& val) method to GApplication and disallowed setting of a boolean parameter with an integer value. This results in the expected behavior.
-
…ts for GEbounds::contains() methods.
-
The formula for drawing random numbers on a sphere was not correct. This has now been corrected, and verify using a dedicated test script (test_model_spatial_const.py).
-
There are machine dependent differences in the computation of solid angles, related to the system dependent precision of trigonometric functions. To avoid errors on the large variety of systems, the required precision for the unit test has been reduced.
-
Added a logger() method that allows setting the logger for an optimizer (and that also allows to set the NULL pointer)
-
We should avoid using threads as this has portability issues.
-
The samp.hub.shutdown request allows a client to shutdown the VO Hub. This is not part of the SAMP protocol but does not harm. It is basically needed for unit testing.
-
The Hub is searched for when a client is initialised so that one can ping a Hub from a client.