Skip to content

Commit

Permalink
add package import
Browse files Browse the repository at this point in the history
  • Loading branch information
sploving committed Jun 28, 2011
1 parent 9baa203 commit d561923
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/java_modular/swig_typemaps.i
Expand Up @@ -8,7 +8,7 @@
*
*/

#ifndef HAVE_JBLAS
#ifdef HAVE_JBLAS
%pragma(java) jniclassimports=%{
import org.jblas.*;
%}
Expand Down Expand Up @@ -40,7 +40,7 @@ import org.ujmp.core.booleanmatrix.impl.DefaultDenseBooleanMatrix2D;
#endif
#endif
/* One dimensional input/output arrays */
#ifndef HAVE_JBLAS
#ifdef HAVE_JBLAS
/* Two dimensional input/output arrays */
%define TYPEMAP_SGVECTOR(SGTYPE, JTYPE, JAVATYPE, JNITYPE, TOARRAY, CLASSDESC, CONSTRUCTOR)

Expand Down Expand Up @@ -152,7 +152,7 @@ TYPEMAP_SGVECTOR(float64_t, double, Double, jdouble, "()[D", "org/jblas/DoubleMa
#undef TYPEMAP_SGVECTOR
#endif

#ifndef HAVE_JBLAS
#ifdef HAVE_JBLAS
/* Two dimensional input/output arrays */
%define TYPEMAP_SGMATRIX(SGTYPE, JTYPE, JAVATYPE, JNITYPE, TOARRAY, CLASSDESC, CONSTRUCTOR)

Expand Down

0 comments on commit d561923

Please sign in to comment.