Search:

Type: Posts; User: cowboyjo

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    2,391

    I did get the time to pick up the basics of gdb...

    I did get the time to pick up the basics of gdb this week, and it has already proved a worthwhile investment.

    Just wanted to let you know that I did take your advice, laserlight, it just wasn't...
  2. Replies
    11
    Views
    2,391

    Thanks for your replies tabstop, I did find where...

    Thanks for your replies tabstop, I did find where the vector is being filled with zeros in a different part of the code.

    What threw me was the fact that the correct values eventually did appear....
  3. Replies
    11
    Views
    2,391

    I'll post more info and a simplified example if I...

    I'll post more info and a simplified example if I can recreate the problem within a simpler context, but until then I would still appreciate any insight into this problem. Has any one ever...
  4. Replies
    11
    Views
    2,391

    It doesn't seem to be that simple. I do not have...

    It doesn't seem to be that simple. I do not have a vector of length 75000 plus, I merely access the elements of a 128 deep vector 75000 times and get a zero, and then magically get the correct value...
  5. Replies
    11
    Views
    2,391

    learn how to use a debugger added to my todo...

    learn how to use a debugger added to my todo list.

    i modified the else statement like so:



    else {
    std::cout << "what am i doing here" << std::endl;
    for (int i=0;i<md.ntot();i++)...
  6. Replies
    11
    Views
    2,391

    well, seems I was too optimistic about the above...

    well, seems I was too optimistic about the above fix. The code works as is, but if i take out the various print statements and revert the control statements (basically undoing all the damage done...
  7. Replies
    11
    Views
    2,391

    Ok, I got the values to register by doing this in...

    Ok, I got the values to register by doing this in initPedestals:



    initPedestals(Module &md)
    {
    _pflist.insert(PFEntry(256,"pedestals.txt"));
    PFList::iterator it = _pflist.find(md.id());
    ...
  8. Replies
    11
    Views
    2,391

    vector values not updating

    Hi,

    I'm having a problem with values read in from a file and assigned to a vector using push_back are not updating. After the values have been assigned, the vector returns zero for all of its...
Results 1 to 8 of 8