lmi
[Top][All Lists]
Advanced

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

[lmi] assert in stratified_entity::assert_validity()


From: Vadim Zeitlin
Subject: [lmi] assert in stratified_entity::assert_validity()
Date: Mon, 26 Jul 2010 00:48:59 +0200

 Hello,

 If I start a LMI and do Alt-F,N,I to create a new illustration I get an
assert in stratified_entity::assert_validity() because limits_.back() is
1.0 and not infinity<double>(). The precise stack at the moment of assert
is

        stratified_entity::assert_validity()  Line 136
        stratified_entity::read(const xml::node & e={...})  Line 164
        xml_serialize::xml_io<stratified_entity>::from_xml(const xml::node & 
t={...}, stratified_entity & e={...})  Line 61
        xml_serialize::from_xml<stratified_entity>(const xml::node & e={...}, 
stratified_entity & t={...})  Line 173
        stratified_charges::read_element(const xml::node & e={...}, const 
std::basic_string<char,std::char_traits<char>,std::allocator<char> > & 
name="AssetCompTieredByAssets", int __formal=0x00000000)  Line 560
        xml_serializable<stratified_charges>::read(const xml::node & x={...})  
Line 141
        xml_serializable<stratified_charges>::load(const 
boost::filesystem::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 >,boost::filesystem::path_traits> & path={...})  Line 79
        stratified_charges::stratified_charges(const 
std::basic_string<char,std::char_traits<char>,std::allocator<char> > & 
filename="w:/src/tt/MassMutual/lmi/sample.strata")  Line 185
        BasicValues::Init()  Line 233
        BasicValues::BasicValues(const Input & input={...})  Line 83
        AccountValue::AccountValue(const Input & input={...})  Line 111
        IllusVal::run(const Input & input={...})  Line 49
        illustrator::operator()(const 
boost::filesystem::basic_path<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 >,boost::filesystem::path_traits> & file_path={...}, const Input & z={...})  
Line 126
        IllustrationView::Run(Input * overriding_input=0x00000000)  Line 295
        IllustrationView::OnCreate(wxDocument * doc=0x056f0430, long 
flags=0x00000001)  Line 198
        wxDocTemplate::CreateView(wxDocument * doc=0x056f0430, long 
flags=0x00000001)  Line 832
        wxDocument::OnCreate(const wxString & __formal={...}, long 
flags=0x00000001)  Line 529
        IllustrationDocument::OnCreate(const wxString & filename={...}, long 
flags=0x00000001)  Line 118
        wxDocTemplate::InitDocument(wxDocument * doc=0x056f0430, const wxString 
& path={...}, long flags=0x00000001)  Line 817
        wxDocTemplate::CreateDocument(const wxString & path={...}, long 
flags=0x00000001)  Line 806
        wxDocManager::CreateDocument(const wxString & pathOrig={...}, long 
flags=0x00000001)  Line 1431
        wxDocManager::CreateNewDocument()  Line 400
        wxDocManager::OnFileNew(wxCommandEvent & __formal={...})  Line 1051


Would you know of an explanation as to why this happens by chance? I did
regenerate the project files, including sample.strata from which the
offending value is being read by stratified_charges ctor, using
product_files. Should I do something else to fix this? Or is it some
artefact of MSVC build (I didn't test under Linux yet because I still
didn't finish my floating point changes there)?

 Thanks in advance for any hints,
VZ

reply via email to

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