[segyio] 32/376: Fix failing call in mex code, was out of sync with segy.h

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

jokva-guest pushed a commit to branch debian
in repository segyio.

commit 387fa3954b7f4c4ba202ab94dabb0da5dfcaab71
Author: Kjell W. Kongsvik <kwko at statoil.com>
Date:   Thu Oct 13 10:12:44 2016 +0200

    Fix failing call in mex code, was out of sync with segy.h
    
    Update to segy_read_textheader()
---
 mex/segy_get_segy_header_mex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mex/segy_get_segy_header_mex.c b/mex/segy_get_segy_header_mex.c
index d804074..f8008f9 100644
--- a/mex/segy_get_segy_header_mex.c
+++ b/mex/segy_get_segy_header_mex.c
@@ -16,7 +16,7 @@ void mexFunction(int nlhs, mxArray *plhs[],
 
     FILE* fp = segyfopen( prhs[ 0 ], "r" );
     char* textheader = mxMalloc( segy_textheader_size() );
-    err = segy_textheader( fp, textheader );
+    err = segy_read_textheader( fp, textheader );
     
     if( err != 0 ) {
         msg1 = "segy:text_header:os";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git



More information about the debian-science-commits mailing list