From 2806712f80346b6cf178420be1563f6cb05efb1c Mon Sep 17 00:00:00 2001 From: Dave Parker Date: Wed, 21 Oct 2015 23:46:40 +0000 Subject: [PATCH] Some tidying in multi-objective code. git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10811 bbc10eb1-c90d-0410-af57-cb519fbb1720 --- prism/src/sparse/PS_NondetMultiObj.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/prism/src/sparse/PS_NondetMultiObj.cc b/prism/src/sparse/PS_NondetMultiObj.cc index 02e22c78..b3cd054a 100644 --- a/prism/src/sparse/PS_NondetMultiObj.cc +++ b/prism/src/sparse/PS_NondetMultiObj.cc @@ -3,7 +3,7 @@ // Copyright (c) 2002- // Authors: // * Vojtech Forejt (University of Oxford) -// * Dave Parker (University of Oxford, formerly University of Birmingham) +// * Dave Parker (University of Birmingham/Oxford) // //------------------------------------------------------------------------------ // @@ -173,11 +173,8 @@ JNIEXPORT jdoubleArray __jlongpointer JNICALL Java_sparse_PrismSparse_PS_1Nondet for(int rewi = 0; rewi < lenRew; rewi++) ndsm_r[rewi] = (NDSparseMatrix *) jlong_to_NDSparseMatrix(ptr_ndsm_r[rewi]); - double* weights = env->GetDoubleArrayElements(_weights, 0); - int* step_bounds_r = (has_rewards) ? (int*)env->GetIntArrayElements(_ndsm_r_step_bounds, 0) : NULL; int* step_bounds = (has_yes_vec) ? (int*)env->GetIntArrayElements(_prob_step_bounds, 0) : NULL; - int max_step_bound = 0; for(int rewi = 0; rewi < lenRew; rewi++) {