<br>If I'm adding to a particular column in multiple passes, do I need to preallocate enough memory for each pass, or just 1 for each column in the row?<br>Right now I'm drastically over-allocating, and I'm trying to reduce this. If I give the true number of columns in the row, I keep getting new entry errors.<br>
<br>New nonzero at (8045,60) caused a malloc!<br><br>I have it spit into phases where I set zeros in the non-zero pattern, then I come back and fill in entries in a bulk pass, and then do a second pass to clean up entries in special rows.<br>
Could someone clarify how this works. <br><br>John<br>