ComputationalRadiationPhysics / isaac

In Situ Animation of Accelerated Computations :microscope:
http://ComputationalRadiationPhysics.github.io/isaac/
GNU Lesser General Public License v3.0
25 stars 15 forks source link

Fix of the 'sum' function. #165

Closed Anton-Le closed 2 years ago

Anton-Le commented 2 years ago

Fix of #153 .

The error was due to a definition of result in the summation functor without initialization. isaac_float_dim<1>, resp. glm does not appear to initialize the storage. With these changes I obtain a proper output for the ranges and the function seems to be working properly:

summationFix