I keep receiving this error message when compiling a simplified mandelbrot function.
main.c:86:43: error: invalid operands to binary > (have ‘complex double’ and ‘complex float’) else if(f2r > 1000 || f2i > 1000 * I) {
........^
There are other messages with this, but they are all the same problem.
I pretty much just started coding the other day and I'm just not familiar enough with the complex.h package to sort it out myself... and on top of that I can't find this answer anywhere online as far as I've looked - so I decided to ask.
Thanks in advance.