Skip to content

[WIP] pit_cell implemented as lambda function. - #9

Open
sunayana wants to merge 1 commit into
masterfrom
feature/sc-39927/improve-wrapping
Open

[WIP] pit_cell implemented as lambda function.#9
sunayana wants to merge 1 commit into
masterfrom
feature/sc-39927/improve-wrapping

Conversation

@sunayana

@sunayana sunayana commented Jan 9, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@shortcut-integration

Copy link
Copy Markdown

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

@sunayana

sunayana commented Jan 9, 2023

Copy link
Copy Markdown
Contributor Author

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