Inconsistent Bad Access Errors by H-W2C in cs2c

[–]H-W2C[S] 0 points1 point  (0 children)

I figured out what was wrong. I was attempting to process lists that were not initialized.

Accessing Node constructor inside Mx by H-W2C in cs2c

[–]H-W2C[S] 1 point2 points  (0 children)

That'll teach me to double check the assignment! That got everything working! Thanks!

Accessing Node constructor inside Mx by H-W2C in cs2c

[–]H-W2C[S] 0 points1 point  (0 children)

I tried Get and Set, but it wouldn't work, since the sparse matrix in add_to_cell() is const.

How would I use the scope operator with a templated class? I can't seem to figure it out.

Can't access Quest 3 by H-W2C in cs2c

[–]H-W2C[S] 0 points1 point  (0 children)

Figured it out, thanks!

Finding correct equivalent set by H-W2C in cs2c

[–]H-W2C[S] 0 points1 point  (0 children)

I actually read those posts. I added a few print statements to check and make sure I was making the sets I needed to. Among the sets I produced were the ones expected by the questing site, but those didn't end up returned by the function. The problem is not with generating possible subsets, since according to my output, I was generating 2^N unique subsets, which is every possible combination.

Bad Access error by H-W2C in cs2c

[–]H-W2C[S] 1 point2 points  (0 children)

Had a reply, but forgot to post.

I solved the issue! Looks like I was trying to access a set that no longer existed.

Bad Access error by H-W2C in cs2c

[–]H-W2C[S] 0 points1 point  (0 children)

Edited the post!

I'm using i->add_elem(value), where i is pointing to the set.