• A segmentation fault occured in GModelSpectralNodes::update_flux_cache when no nodes are present. The reason is that m_energies.size() returns an unsigned integer, and m_energies.size()-1 is not -1 for no nodes but 18446744073709551615, hence the loop was entered despite the fact that no nodes existed.
    
    No, m_energies.size() is converted to int first, and then nodes-1 should give indeed -1 if nodes=0.
    Jürgen Knödlseder authored
     
    Browse File »



  • Add GChatter argument to print() method.
    
    The print() method now takes an argument of type GChatter to control the chattiness of the output in a homogenous manner.
    Pass NORMAL chatter level in __str__ method.
    Add chatter argument to print() methods.
    Use GLog::chatter() method to control the chattiness of the log stream operator.
    Add chatter() methods and provide member access through const references.
    Add chatter() methods, provide member access through const references, and declare one liners as inline methods.
    
    The chatter() methods control the new m_chatter attribute that is used to control the chattiness of the object's print() methods.
    name() and version() methods return const references.
    logFileOpen() method now sets the chattiness from the applications's chatter parameter, and name() and version() methods now return a const reference.
    Jürgen Knödlseder authored
     
    Browse File »






  • Due to a copy-paste error, the global for the registry was identical to the global for the FileFunction. It is surprising that this did not produce an error. This has now been corrected. Proper global variables were introduced for the NodeFunction.
    Jürgen Knödlseder authored
     
    Browse File »