H5D(O) [read/write]_chunk incorrect function arguments?

Aperta
#170 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@gheber ci sta già lavorando.

Dal 28/10/2020.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

Hi there, I've been attempting to use the H5D.write/read_chunk methods, but the parameter "offset" is declared as "ref hsize_t offset".
The official documentation for the C lib states that this variable should be referencing an array, so clearly there is an issue here. It works fine for dataspaces of rank 1, but obviously wont work when attempting to specify the offset in a multidimensional dataspace. In my local version I changed the arguement to "[In][Out] hsize_t[] offset" and it now works as expected. Thought it might be worth mentioning!
This was also for HDF5_VER1_10. Many thanks.

Lingua principale
C#
Stelle
87
Fork
32
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di HDFGroup/HDF.PInvoke

Tutte le issue di HDFGroup/HDF.PInvoke

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.