-
October 24th, 2019, 10:33 AM
#16
Re: Reversing an array
Now i copy the reverted rectangle to the clients output, and there is another exception. at last line.
// copy the results in the correct format to the pdesign output Rectangle
memcpy(out.propagation->getBuffer(), pDesignlossValues, sizeof(float) * numberOflossvalues);
Actually, the getBuffer() is defined in the following format and client gives a pointer to this. (but now I am trying to test with the test setup)
virtual const T* getBuffer() const = 0;
virtual T* getBuffer() { return const_cast<T*>(static_cast<const IRaster*>(this)->getBuffer()); }
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|