Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] pit_cell implemented as lambda function. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sunayana
Copy link
Member

@sunayana sunayana commented Jan 9, 2023

No description provided.

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #39927: Improve wrapping of C++ code.

@sunayana
Copy link
Member Author

sunayana commented Jan 9, 2023

This strategy maybe less than ideal but it works for the moment to at least see the values in the Depression{Float64} struct

julia> using RichDEM
[ Info: Precompiling RichDEM [db566695-6f60-45f3-9b37-d3ff769e9aca]
[ Info: Skipping precompilation since __precompile__(false). Importing RichDEM [db566695-6f60-45f3-9b37-d3ff769e9aca].
Warning: Type i already had a mapped type set as Int32 using hash 6253375586064260614 and const-ref indicator 0
Warning: Type a already had a mapped type set as Int8 using hash 4993892634952068459 and const-ref indicator 0
Warning: Type j already had a mapped type set as UInt32 using hash 10485857595211860659 and const-ref indicator 0
julia> dep = RichDEM.depressions.Depression{Float64}()
RichDEM.depressions.DepressionAllocated{Float64}(Ptr{Nothing} @0x0000000001cb0280)
julia> RichDEM.depressions.pit_cell(dep)
0xffffffff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant