Skip to content

Commit

Permalink
Workaround #291.
Browse files Browse the repository at this point in the history
  • Loading branch information
khatchad committed Dec 6, 2023
1 parent c8530f2 commit 82d28d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion edu.cuny.hunter.hybridize.core/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Import-Package: com.google.common.collect,
com.ibm.wala.cast.ir.ssa,
com.ibm.wala.cast.loader,
com.ibm.wala.cast.python.client;version="0.1.0",
com.ibm.wala.cast.python.ipa.callgraph;version="0.12.0",
com.ibm.wala.cast.python.ipa.callgraph;version="0.14.0",
com.ibm.wala.cast.python.loader;version="0.1.0",
com.ibm.wala.cast.python.ml.analysis;version="0.13.0",
com.ibm.wala.cast.python.ml.client;version="0.13.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4459,10 +4459,7 @@ public void testModel2() throws Exception {
checkOptimizationNotAvailableStatus(f);
break;
case "call":
// NOTE: Change to assertTrue when https://github.com/ponder-lab/Hybridize-Functions-Refactoring/issues/291 is fixed.
assertFalse("Expecting " + simpleName + " to not have a tensor param.", f.getLikelyHasTensorParameter());
// NOTE: Remove once https://github.com/ponder-lab/Hybridize-Functions-Refactoring/issues/291 is fixed.
checkSideEffectStatus(f);
assertTrue("Expecting " + simpleName + " to have a tensor param.", f.getLikelyHasTensorParameter());
break;
default:
throw new IllegalStateException("Not expecting function: " + simpleName + ".");
Expand Down
4 changes: 2 additions & 2 deletions hybridize.target
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>com.ibm.wala</groupId>
<artifactId>com.ibm.wala.cast.python.ml</artifactId>
<version>0.14.0-SNAPSHOT</version>
<version>0.15.0-SNAPSHOT</version>
<type>jar</type>
</dependency>
</dependencies>
Expand All @@ -53,4 +53,4 @@
<launcherArgs>
<vmArgs>-Declipse.p2.max.threads=10 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/-&gt;http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ -Dosgi.requiredJavaVersion=17 [email protected]/eclipse-workspace -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Dsun.java.command=Eclipse -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms256m -Xmx2048m --add-modules=ALL-SYSTEM</vmArgs>
</launcherArgs>
</target>
</target>

0 comments on commit 82d28d4

Please sign in to comment.