• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Xcode 7 hanging with multi-dimensional vector resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 7 hanging with multi-dimensional vector resize


  • Subject: Xcode 7 hanging with multi-dimensional vector resize
  • From: Michael McLaughlin <email@hidden>
  • Date: Fri, 11 Dec 2015 13:23:31 -0500

My OS X Foundation tool declares several 2-D and/or 3-D matrices, e.g.,

vector<vector<double>> v2;

which I resize on the fly.

The app works fine when called from Terminal but, within Xcode, it usually hangs at the point where the “inside” vectors are being resized.  The following is for 1-based 2-D matrices:

      case 2:
         type = mat2; Ndim = 2; length = sz1 + 1; length2 = sz2 + 1;
         dataLength = sz1*sz2 + 1;
         v2.resize(length);
         for (c = 0;c <= length;c++)
            v2[c].resize(length2);
         break;

I have not encountered this before.  Is it a known problem?

Thanks for any help.
 
--
Michael McLaughlin
email@hidden





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Xcode 7 hanging with multi-dimensional vector resize
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Can't po anything without getting tons of warnings
  • Next by Date: Re: Can't po anything without getting tons of warnings
  • Previous by thread: Re: Can't po anything without getting tons of warnings
  • Next by thread: Re: Xcode 7 hanging with multi-dimensional vector resize
  • Index(es):
    • Date
    • Thread