View Single Post
Old 2012-10-26, 14:35   #5
burrobert
 
burrobert's Avatar
 
Oct 2012
Altona Victoria

22×3 Posts
Default

Thanks for your suggestions Dubslow. I firstly tried running the code on a larger integer but this produced the same error. Your second suggestion however was correct. I used the msieve_obj_new() function to create and initialise the msieve_obj and this removed the problem. It is interesting though that there was no problem on my Macbook Pro both when I compiled and ran the program in xcode and when I did it from the command line. I guess as a general principle though it is better to use a provided initialiser. Thanks for your help.
burrobert is offline   Reply With Quote