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

Re: Ocaml 3.0 : Pb dans les Big array #2439

Closed
vicuna opened this issue May 4, 2000 · 1 comment
Closed

Re: Ocaml 3.0 : Pb dans les Big array #2439

vicuna opened this issue May 4, 2000 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented May 4, 2000

Original bug ID: 101
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Bonjour,

Merci de votre message à la tribune de discussion de Caml. Toutefois
votre message semble être un rapport d'erreur et donc mal orienté: je
l'envoie à la bonne adresse

caml-bugs@inria.fr

Merci encore pour votre intérêt à notre langage.

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://cristal.inria.fr/~weis/

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://cristal.inria.fr/~weis/

Bonjour,

J'ai commencé les test des bigs Array de M.Serrano.
Mais il y a visiblement un problème dans la livraison.
En effet, dès que l'on tente de faire appel a Arrayx.get ou set, on a un
message
d'erreur signalant que la fonction externe bigarray_ref_x n'est pas
disponible.
Rien d'étonnant, si l'on regarde dans les sources, car ce n'est pas
bigarray_ref_x
mais bigarray_get_x qui est dans le C!
dans bigarray_stubs.c:

value bigarray_get_1(value vb, value vind1)

dans bigarray.ml:

module Array1 = struct
type ('a, 'b, 'c) t = ('a, 'b, 'c) Genarray.t
let create kind layout dim =
Genarray.create kind layout [|dim|]
external get: ('a, 'b, 'c) t -> int -> 'a = "%bigarray_ref_1"
external set: ('a, 'b, 'c) t -> int -> 'a -> unit = "%bigarray_set_1"

Mon test a été mené sur Windows 2000, mais vu les sources, je suppose que
c'est pareil
sur Unix.
J'ai modifié le source et recompiler et cela va déja mieux.
Je n'ai pas encore été plus loin dans les tests.

==========================================
Emmanuel DORLET
CEA SACLAY
DRN/DMT/SYSCO/LGLS
bâtiment 460 - pièce 19
91191 GIF sur YVETTE CEDEX
bureau: 01 69 08 91 17
secrétariat: 01 69 08 91 10
fax : 01 69 08 96 96
émail: Emmanuel.Dorlet@cea.fr

@vicuna
Copy link
Author

vicuna commented May 12, 2000

Comment author: administrator

Same bug as #2432

@vicuna vicuna closed this as completed May 12, 2000
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant